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. SetCapture and Accelerator Keys

SetCapture and Accelerator Keys

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpsharepoint
1 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.
  • I Offline
    I Offline
    Ingo 0
    wrote on last edited by
    #1

    I used in a programm the ButtonST Class from Codeproject... this button class uses the SetCapture method to draw the button ( win98 style ). now i initiated in the program that the user must press a accerelator key ( F1 till F11 ) to switch to another view.... Its an SDI application developed under Visual C++ 6.0 ( no SP ). The acckey calls a function OnKeyF1Pressed()... but when the mouse is over a buttonST OnKeyF1Pressed won't be called..... I think there's a problem with the buttonST ( esspecially with SetCapture ). I tried to called RemoveCapture() when the button is drawed but that isn't very fine because the buttonst isn't drawn completely but the view is switched. hope that someone will help me BEST REGARDS ingo eberhardt SEC

    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