I want to handle the properties key press in CListCtrl in MFC and show a context menu which is already shown with right clicking. How can I do that?
A:
The "properties" key is the "Menu" key.
If you already implemented a context menu then the CListCtrl control must have the focus when you press the "properties" key.
Or alternatively, the main window can watch key messages and notify the control.
Nick D
2009-07-13 09:37:43