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. ATL Composite Control/keyboard events

ATL Composite Control/keyboard events

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++
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.
  • N Offline
    N Offline
    nemo
    wrote on last edited by
    #1

    I have an ATL(3.0) project that contains a composite control. I need to trap all the events that occur when the control has focus. I though I had accomplished this and then discovered the keyboard events( WM_KEYDOWN, etc) are missing. I investigated the problem and was advised to override the pretranslateaccelerator routine from the base class. I did so but found it never gets called with the keyboard events. Any help or examples would be appreciated. If you need to re-create the problem, create an ATL project with a composite control and then try to capture pressing and key on the keyboard. thanks in advance:)

    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