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. Mapping Accelerator to Dialog Boxes.

Mapping Accelerator to Dialog Boxes.

Scheduled Pinned Locked Moved C / C++ / MFC
csharpquestion
2 Posts 1 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.
  • J Offline
    J Offline
    Jawache
    wrote on last edited by
    #1

    I can't seem to map my accelerator keys to my dialog. I have mapped the Accelerator 'Alt + 1' to my Dialog class but the functions are not being called? If I map the accelerator keys to my MainFrame (to try to forward them to my Dialog) then the functions are not called when the dialog box is displayed. No matter what I do I cannot seem to use accelerator keys when a dialog box is being displayed. I know I'm doing something stupid becuase I've seen this functionality before. Any ideas? Cheers Asim Hussain e: asim@jawache.net w: www.jawache.net

    J 1 Reply Last reply
    0
    • J Jawache

      I can't seem to map my accelerator keys to my dialog. I have mapped the Accelerator 'Alt + 1' to my Dialog class but the functions are not being called? If I map the accelerator keys to my MainFrame (to try to forward them to my Dialog) then the functions are not called when the dialog box is displayed. No matter what I do I cannot seem to use accelerator keys when a dialog box is being displayed. I know I'm doing something stupid becuase I've seen this functionality before. Any ideas? Cheers Asim Hussain e: asim@jawache.net w: www.jawache.net

      J Offline
      J Offline
      Jawache
      wrote on last edited by
      #2

      I should just RTFM before I start posting shouldn't I. Figured it out from here: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q222/8/29.ASP&NoWebContent=1 Asim Hussain e: asim@jawache.net w: www.jawache.net

      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