[WinAPI] WM_CHAR & DialogBox

G

Gutek

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.
 
P

Phlip

return DialogBox (0, MAKEINTRESOURCE(IDD_DIALOG), NULL, DlgProc) ;

Please post this question to a newsgroup where articles with [WinAPI] in the
Subject line are on-topic. Use www.google.com to find one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top