CGXControl::RButtonUp

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

nFlags

  • Indicates whether various virtual keys are down. This parameter can be any combination of the following values:

  • 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.

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:

  • GX_HITSTART: Mouse button has been pressed

  • GX_HITMOVE: Mouse cursor has been moved.

  • GX_HITEND: Mouse button has been released.

  • GX_SELECT: Cells will be selected.

  • GX_HITINCELL: Mouse cursor is in the cell where the mouse button has been pressed.

  • GX_HITLEAVE: Mouse cursor has left the cell where the mouse button has been pressed.

  • GX_CTRLPRESSED: User pressed the mouse button while pressing the CTRL key.

GX_HITCURRENTCELL: User pressed mouse in current cell.

Return Value

TRUE if the message has been processed; FALSE otherwise.

Remarks

Called when the user has released the right mouse button.

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

See Also

 CGXControl::ChildWithFocus

CGXControl

 Class Overview |  Class Members