User Profile
Collapse
-
Thanks everyone. I got it figured by myself. The event was getting caught by TabCtrl, but only after it came through the treeview class(I confirmed that by putting the WndProc in my treeview class, and for Message = 256, the keydown event was being propagated to tab control). Hence handled that message in Treeview class so that the Tabctrl doesn't process the event, and in this way, I finally managed to get the KeyDown event in my TreeView class... -
Key Down Event not navigating upto tree view
Hi,
I have a winforms application, in which there are multiple tab pages containing treeviews. The parent tabcontrol is a custom control extending the windows forms tab control, which is used to implement SelectedIndexCh anging event for the tabpages. In that TabControl class, I have the KeyDown event overridden. It is working fine as long as I am changing tab using keyboard. But when I have focus on tree view, then also keydown event...
No activity results to display
Show More
Leave a comment: