CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    2

    character input in Dialog Box

    How do you add the ability to handel WM_CHAR messages to a Dialog Box?
    The books say to use the TranslateAccelerators to identify which keys you
    need, but I need to handle the whole keyboard. The OnChar function is never
    called apparently because IsDialogMessage takes care of it?
    Thanks.


  2. #2
    Join Date
    May 1999
    Location
    New Jersey, USA
    Posts
    10

    Re: character input in Dialog Box

    Looking into the WM_GETDLGCODE message processing may help solve Ur problem though I'm not very sure of what u really want done. This message has an option DLGC_WANTCHARS using which u can trap all WM_CHAR messages.

    Regards
    Ram


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured