Ситуация такая: MDI-child окну приходит команда. Нужно распознать, пришла она от нажатия hot-key или из другого источника.
Заранее спасибо.
Здравствуйте, der_user, Вы писали:
_>Ситуация такая: MDI-child окну приходит команда. Нужно распознать, пришла она от нажатия hot-key или из другого источника.
CWnd::GetCurrentMessage() + pMsg.message == WM_COMMAND +
wNotifyCode
Value of the high-order word of wParam. Specifies the notification code if the message is from a control. If the message is from an accelerator, this parameter is 1. If the message is from a menu, this parameter is 0.
Здравствуйте, SchweinDeBurg, Вы писали:
SDB>CWnd::GetCurrentMessage() + pMsg.message == WM_COMMAND +
SDB>SDB>wNotifyCode
SDB>Value of the high-order word of wParam. Specifies the notification code if the message is from a control. If the message is from an accelerator, this parameter is 1. If the message is from a menu, this parameter is 0.
Спасибо, будем действовать !