Hi All,
How can I stop a listview from receiving commands from the keyboard when its in focus.
I'm trying to generate a dialog with a listview and a static label box, using a keyboard hook routine I want to be able to intercept the keypresses + update the text in the static label box and then depending on whats in this box show the closest match in the list view.
So far I've got the dialog created with all of the controls and I have the keyboard hook routine working. Only problem is that when I start to type the listview selected row changes depending on the last key pressed.
How can I stop a listview from receiving commands from the keyboard when its in focus.
I'm trying to generate a dialog with a listview and a static label box, using a keyboard hook routine I want to be able to intercept the keypresses + update the text in the static label box and then depending on whats in this box show the closest match in the list view.
So far I've got the dialog created with all of the controls and I have the keyboard hook routine working. Only problem is that when I start to type the listview selected row changes depending on the last key pressed.
Comment