C++
virtual void OnLButtonClicked( UINT nFlags, CPoint point );
Description
The framework calls this method when the left mouse button is clicked in the view. A pair of button down and up messages constitutes a click. The click may be on an item or on the background. Use HitTest() to find the clicked item. The base class method does nothing.
nFlags can be any combination of the following values:
MK_CONTROL | Set if the CTRL key 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 |
Parameters
Parameters | Description |
---|---|
nFlags | Input flags indicating whether various virtual keys are down |
point | Input point at which the click occurred in client coordinates of the view window |