Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3021

Testing hotkeys from GetMessage

$
0
0
When I retrieve the message from
Code:

if(GetMessage(&msg,NULL0,0) != 0)
{
    if (msg.message == WM_HOTKEY)
    {
        // do something
    }
}

I can get a hotkey stroke from the message pump.
But how do I test a specific key, like ctrl-alt-F?
THX

Viewing all articles
Browse latest Browse all 3021