Capture keyboard event in a dialog dll
C / C++ / MFC
2
Posts
2
Posters
1
Views
1
Watching
-
Hello, How to capture key board event in a dll having dialog box ? I tried with PreTranslateMessage() but no events reached to PreTranslateMessage() either. Thank you.
-
Hello, How to capture key board event in a dll having dialog box ? I tried with PreTranslateMessage() but no events reached to PreTranslateMessage() either. Thank you.
The DLL doesn't own the message pump. If the DLL opens modeless dialogs or has a frame window, the application's main message pump must call a routine exported by the DLL. http://msdn.microsoft.com/en-us/library/f22wcbea(v=vs.80).aspx[^]
Thanks and Regards, Selvam, http://www15.brinkster.com/selvamselvam/