Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How do you get a dialog to respond to a key down message?

How do you get a dialog to respond to a key down message?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    D_code_writer
    wrote on last edited by
    #1

    Hey guys, My name is Danny and I am working on a project using MFC based dialog and property pages. This question may sound really dumb, but I've added a key down handler for a property page I'm working on and for love or money I can't seem to get it to respond. I've thrown brake points everywhere and I can't get it to respond. Are there any suggestions out there? Thanks Guys. Danny Nowlan

    R H 2 Replies Last reply
    0
    • D D_code_writer

      Hey guys, My name is Danny and I am working on a project using MFC based dialog and property pages. This question may sound really dumb, but I've added a key down handler for a property page I'm working on and for love or money I can't seem to get it to respond. I've thrown brake points everywhere and I can't get it to respond. Are there any suggestions out there? Thanks Guys. Danny Nowlan

      R Offline
      R Offline
      Rinu_Raj
      wrote on last edited by
      #2

      Map the WM_KEYDOWN message there you wil get which key is being pressed Rinu Raj

      1 Reply Last reply
      0
      • D D_code_writer

        Hey guys, My name is Danny and I am working on a project using MFC based dialog and property pages. This question may sound really dumb, but I've added a key down handler for a property page I'm working on and for love or money I can't seem to get it to respond. I've thrown brake points everywhere and I can't get it to respond. Are there any suggestions out there? Thanks Guys. Danny Nowlan

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        See WM_KEYDOWN/WM_KEYUP

        _**


        **_

        WhiteSky


        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups