For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > July 2004 > PretranslateMessage Doesnt Work for Modeless Dialogs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PretranslateMessage Doesnt Work for Modeless Dialogs
Nilesh Pawar

2004-07-18, 8:57 am

Hi all.
I have observed that the PretranslateMessage() function doesnt get called
for the Modeless dialog boxes created through an MFC regular DLL. The Dialog
is created by a function exported from the DLL itself and the Class for the
dialog is in the DLL.

I have even tried placing
AFX_MANAGE_STATE(AfxGetStaticModuleState
())
at top of PretranslateMessage.
Can any one tell me how make the PreTranslateMessage function get called?
I am using VC++ 6.0 enterprise edition.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com