Virtual Keys :: MFC
I would like to know how to determine when the user presses, say, 'z' *while* holding down one of the virtual keys, say Ctrl.
// Ctrl + Z
I can use either OnKeyDown(...) and/or OnChar(...) to determine *either* Ctrl or z, but not both.
I am trying to implement an "undo" feature.
I guess you could start your OnChar handler with a call to the api function GetAsyncKeyState()........and specify VK_CONTROL..
I havent tested it...but I think it would work