Thread: Keyboard input in a Dialog

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    4

    Keyboard input in a Dialog

    I am making a fully dialog based application wherein my application has a dialog with a few buttons. I want to move one of the buttons at runtime through keyboard left and right keys. I have added the control WM_KEYDOWN and written the code there. But my problem is that whenever I click on the left or right keys the focus keeps shifting between the buttons on the dialog but the button doesn't move. I am at my wits end as to why keyboard input is not going to the dialog. Please help

    regards,
    KSarkar

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,928
    Dialog Box Programming Considerations -> Keyboard Interface

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need some help with C program writing
    By The_PC_Gamer in forum C Programming
    Replies: 9
    Last Post: 02-12-2008, 08:12 PM
  2. Using low-level keyboard for input
    By hdragon in forum C++ Programming
    Replies: 25
    Last Post: 12-24-2007, 01:13 PM
  3. Stealing Keyboard input
    By zort15 in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2007, 02:22 PM
  4. Need help with keyboard input
    By wiramu in forum C++ Programming
    Replies: 2
    Last Post: 11-28-2003, 01:44 PM