CMouseEvent::TestFlags
void CMouseEvent::TestFlags(const UINT nMask)
Test to see if certain virtual keys were pressed during the mouse event.
Defined in: MouseEvent.h
Return Value
bool
Parameters
nMask
Mask to test flags against.
Comments
The mask can be a combination of the following flags -
MK_CONTROL Set if the CTRL key is down.
MK_LBUTTON Set if the left mouse button is down.
MK_MBUTTON Set if the middle mouse button is down.
MK_RBUTTON Set if the right mouse button is down.
MK_SHIFT Set if the SHIFT key is down.
This function returns TRUE if all flags in the mask are set.