CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Tampa, FL
    Posts
    114

    How do I get keystrokes within a modal Dlg

    How can I intercept keystrokes in my Dialog Box? Handlers I've added for WM_CHAR and/or WM_KEYDOWN do nothing. There are no other controls that need focus, since the whole dialog is read only edit boxes and buttons, that don't really need to keep focus.

    --Randy C
    * * * Second star to the Right!

  2. #2
    Join Date
    Apr 1999
    Posts
    27

    Re: How do I get keystrokes within a modal Dlg

    you can intercept the message in the
    PreTranslateMessage and deal with it


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