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. CTreeCtrl derived class problem

CTreeCtrl derived class problem

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++helptutorialquestion
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
    Neagoe Gabriel
    wrote on last edited by
    #1

    I am writing an C# plugin which contains a subclassed CTreeCtrl( in c++ ). I wrote my own OnKeyDown() function and I'm having a strange (may be normal?) behavior: VK_UP, VK_DOWN, VK_LEFT and VK_RIGHT keys do not enter this function, though other virtual keys do. I checked it out with Spy++ and WM_KEYDOWN messages **are** being sent to my control''s window for every VK. The problem is I wish my control to be navigated with keys (as in Explorer, you now), and somewhat I'm loosing it... I don't know where or how to catch those keys. Any clues? NG

    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