<< Return to Main Index

< Return to Class Index

CGXControl::LButtonUp

virtual BOOL LButtonUp(UINT nFlags, CPoint point, UINT nHitState);

nFlags

MK_SHIFT    Set if the SHIFT key is down.

point

Specifies the x- and y-coordinate of the cursor. These coordinates are always relative to the upper-left corner of the window.

nHitState

specifies the state of the interaction. This parameter can be any combination of the following values:

Return Value

TRUE if the message has been processed; FALSE otherwise.

Remarks

Called when the user has released the left mouse button.

The base-class version checks if a CGXChild has the focus (ChildWithFocus). If yes, it calls its LButtonUp method.

The CGXEditControl version activates the control and positions the caret if the user clicked into the text of the cell.

See Also

CGXControl::ChildWithFocus

CGXControl

Class Overview | Class Members