Thread: Problem with IsDialogMessage

  1. #1
    Registered User
    Join Date
    Jun 2008

    Problem with IsDialogMessage

    I noticed that the tab key never works on my programs, and after doing some searching, I figured out I need to use IsDialogMessage. The problem is, I have multiple dialogs running as tabs on a main dialog, and the tab key only goes to the tab control itself. Is the only way around this to handle each control manually? Or is there something that can be done on each dialog? I noticed TranslateAccelerator has the same issue, but it's not as much of a problem since I process all the menus in the main callback.

    Edit: FINALLY figured out something that seems to work. I kept a global with the hwnd of the active tab (dialog), and used that in the call to IsDialogMessage.
    Last edited by Viper187; 07-27-2009 at 03:04 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM