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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. key pressed and bitmap button pressed !

key pressed and bitmap button pressed !

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

    Some body please help me to make a 3 bitmap button on a dialog box buttons like A,b,C ...if 'A' is pressed from key board button A will be depressed, if 'b' is depressed from key board, button b will be depressed. Can any one do it and help me! really ??:omg:

    P 1 Reply Last reply
    0
    • U User 503770

      Some body please help me to make a 3 bitmap button on a dialog box buttons like A,b,C ...if 'A' is pressed from key board button A will be depressed, if 'b' is depressed from key board, button b will be depressed. Can any one do it and help me! really ??:omg:

      P Offline
      P Offline
      PremL
      wrote on last edited by
      #2

      You can find out how to make the three buttons with bitmaps on them here on the code project. The MSDN library also has information on this topic. Once you are done with the buttons, you should have a function associated with each button. From there you have to listen for keyboard events. Should a key you are interested in be pressed, you just call the function for the proper button you want to press. Lorenz Prem Microsoft Corporation

      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