- DialogBox and WM_CHAR
- Posted by Gutek on October 26th, 2003
Hello,
I have written a simple application, in which WinMain contains single line
only:
return DialogBox (0, MAKEINTRESOURCE(IDD_DIALOG), NULL, DlgProc) ;
All messages are processed by DlgProc.
Q: Can I process WM_CHAR messages just like in ordinary window? I know that
I should insert TranslateMessage() in the message loop, but I do not have
direct access to it.
--
Gutek
- Posted by Thomas Jansen on October 27th, 2003
"Gutek" <gutek@fuckoff.p.lodz.pl> wrote in message news:<bngj48$ico$1@nemesis.news.tpi.pl>...
Have you tried to add an WM_CHAR handler in de dialog handler?
I assume the default dialoghandler will call TranslateMessage().
Thomas
Similar Posts
- DialogBox Windows Resource error (Programming) by caesarhernandez
- Duplicate WM_CHAR messages being ignored (Development Resources) by Ritchie
- Translation to WM_CHAR in Journal Record (Development Resources) by Basim Kakakhail
- Creating a dialogbox with child controls (Development Resources) by brigham white
- Re: DialogBox() worries (Development Resources) by IckyPoo

