Ashurbanipal
asked on
PeekMessage and accelerator keys
I'm using the following, and it works fine for the mouse and its buttons. But when I press an accelerator key, nothing happens. What do I need to add?
MSG msg;
while (::PeekMessage(&msg,NULL,0 ,0,PM_REMO VE)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
}
MSG msg;
while (::PeekMessage(&msg,NULL,0
TranslateMessage(&msg);
DispatchMessage(&msg);
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.