MFC的PreTranslateMessage截获Ctrl + 滚轮消息

<textarea cols="50" rows="15" name="code" class="cpp">if (LOWORD(pMsg-&gt;wParam) == MK_CONTROL &amp;&amp; pMsg-&gt;message == WM_MOUSEWHEEL) { MessageBox("OK"); }</textarea>

你可能感兴趣的:(mfc)