Overriding arrow key events in ListView

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

By default, ListView handles Up & Down arrow keys events to change the
current item selected. I need to disable this feature because I do custom
processing on these events.

How can I do that?

Thanks,

Hugo
 
H.B. said:
By default, ListView handles Up & Down arrow keys events to change the
current item selected. I need to disable this feature because I do custom
processing on these events.

Handle the KeyDown event, or override the OnKeyDown method. The key
codes are VK_UP and VK_DOWN.

Tom
 
Back
Top