Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 08:40 PM
Gutek
Guest
 
Posts: n/a
Default [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 TranslateMessage() in the message loop, but I do not have
direct access to it.

--
Gutek


  #2  
Old July 19th, 2005, 08:40 PM
Phlip
Guest
 
Posts: n/a
Default [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
http://www.c2.com/cgi/wiki?TestFirstUserInterfaces


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles