[WinAPI] WM_CHAR & DialogBox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gutek

    [WinAPI] WM_CHAR & DialogBox

    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 TranslateMessag e() in the message loop, but I do not have
    direct access to it.

    --
    Gutek


  • Phlip

    #2
    [OT] Re: [WinAPI] WM_CHAR & DialogBox

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

    --
    Phlip



    Comment

    Working...