CGXGridCore::OnMButtonClickedRowCol
virtual BOOL OnMButtonClickedRowCol(ROWCOL nRow, ROWCOL nCol, UINT nFlags, CPoint pt);?
nRow
Specifies the row id.
nCol
Specifies the column id.
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.
pt
Specifies the x- and y-coordinate of the cursor. These coordinates are always relative to the upper-left corner of the window.
Return Value
TRUE if the message has been processed; FALSE otherwise.
Remarks
Called from CGXControl::MButtonUp when the user has clicked and released the middle mouse button.
You can either override OnMButtonClickedRowCol for all controls or (C++) subclass a specific control and override the control’s MButtonUp method.
You can use CGXControl::IsKindOf to determine the control’s class and compute the return value depending on the control’s runtime-type information.
See Also
CGXGridCore::GetControl CGXControl::MButtonUp CGXControl::IsKindOf