williegofar
Programmer
Hi,
I have a list control object. Within that object I want to be able to trap key presses to allow other processes to 'kick off'. I have been able to get this to work via the LVN_KEYDOWN message.
My problem however, is that is that I don't want the list control to also carry out it's normal process in response to such a keypress. In other words, if I have an entry in my list 'ABCD' and the user presses 'A', I don't want anything in the list to change, at present the selection changes to highlight the 'ABCD' record. Anyone got an idea on how to prevent this?
Thanks.
I have a list control object. Within that object I want to be able to trap key presses to allow other processes to 'kick off'. I have been able to get this to work via the LVN_KEYDOWN message.
My problem however, is that is that I don't want the list control to also carry out it's normal process in response to such a keypress. In other words, if I have an entry in my list 'ABCD' and the user presses 'A', I don't want anything in the list to change, at present the selection changes to highlight the 'ABCD' record. Anyone got an idea on how to prevent this?
Thanks.