Emulate the context menu key on the keyboard?
-
There is the Context-Menu key on the keyboard. It works as user right-clicking the mouse. If I have to emulate this key down / up, what message should I send? Thanks.
Maxwell Chen
-
There is the Context-Menu key on the keyboard. It works as user right-clicking the mouse. If I have to emulate this key down / up, what message should I send? Thanks.
Maxwell Chen
Well, I don't know the answer to your question. But I know who does... Your own PC, and Spy++. Run (eg), notepad. Run spy++ and monitor messages. Press the context-menu key. Let go of it. Go look at spy++! Iain.
I have now moved to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[^]
-
Well, I don't know the answer to your question. But I know who does... Your own PC, and Spy++. Run (eg), notepad. Run spy++ and monitor messages. Press the context-menu key. Let go of it. Go look at spy++! Iain.
I have now moved to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[^]
Thanks! They are: WM_KEYDOWN, VK_APPS WM_KEYUP, VK_APPS But not working in my code... :sigh:
Maxwell Chen
-
Thanks! They are: WM_KEYDOWN, VK_APPS WM_KEYUP, VK_APPS But not working in my code... :sigh:
Maxwell Chen
An alternative for you is to send the WM_CNTEXTMENU[^] message instead...? Good luck, Iain.
I have now moved to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[^]