How to find both control and left button clicked on mousemove in MFC
<p>How to find both control and left button clicked events on mouse move in MFC?</p>

<p>Currently I'm using following lines to check whether control and <code>leftbutton</code> is down <code>onMouseMove()</code>
<code>GetAsyncKeyState(VK_CONTROL)</code> &amp;&amp; <code>GetAsyncKeyState(VK_LBUTTON)</code></p>

<p>But I understand we can check using <code>nFlags</code> in <code>OnMouseMove()</code>. Please let me know.</p>