1

I have a problem with the keyboard navigation is my TreeView. I haven't found a solution to this in the documentation.

The Ctrl+PageUp/Down keyboard combination has a default meaning when a TreeView has focus. The thing is that I want to use Ctrl+PageUp/Down for something else so I have to somehow disable this keyboard command.

Preferable I would like to capure this key combination so that no widget in the window ever receives this.

Is this possible?

gpoo
  • 8,408
  • 3
  • 38
  • 53
Lii
  • 11,553
  • 8
  • 64
  • 88

1 Answers1

2

To prevent an event from being sent further just return TRUE in your event handler then you have consumed the event.

Fabel
  • 1,711
  • 14
  • 36