Solved

WM_CHAR in Dialogs

Posted on 1997-01-10
1
402 Views
Last Modified: 2013-12-03
How can I get the WM_CHAR Messages in a dialog class. I work with MFC 4.1.
Guenter
0
Comment
Question by:glieck
1 Comment
 

Accepted Solution

by:
rmashlan earned 50 total points
ID: 1298602
You need to use SetWindowHookEx and install a WH_MSGHOOK type hook.  The hook is called before dispatching a keyboard or mouse message.  




0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ODBC Connection; Switch between 2 SQL Databases VBA 11 130
C#: need to import an entire CSV file 4 60
Changing the installation path of this MSI 5 114
Using MS Code on my Mac 6 72
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question