Using menu key
-
Hi. I have a simple app, explorer type, with treeview in left side, and listview in right side. On both of them, I handled OnRClick menu, and they are working fine. It is a possibility to fire them using [^]menu key from keyboard ?
-
Hi. I have a simple app, explorer type, with treeview in left side, and listview in right side. On both of them, I handled OnRClick menu, and they are working fine. It is a possibility to fire them using [^]menu key from keyboard ?
Yes, that is possible. You have to handle the appropriate message which is the WM_CONTEXTMENU message (Windows)[^]. That message will be send upon the context menu key press, Shift+F10, and when releasing the right mouse button.
-
Nothing :) ... obviously that I have tried, but the popup menu fired on right click, does nothing when I hit menu key from keyboard ...
-
Yes, that is possible. You have to handle the appropriate message which is the WM_CONTEXTMENU message (Windows)[^]. That message will be send upon the context menu key press, Shift+F10, and when releasing the right mouse button.