<< Return to Main Index

< Return to Class Index

CGXGridCore::OnRButtonDblClkRowCol

virtual BOOL OnRButtonDblClkRowCol(ROWCOL nRow, ROWCOL nCol, UINT nFlags, CPoint pt);?

nRow

Specifies the row id.

nCol

Specifies the column id.

nFlags

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::RButtonDblClk when the user double-clicked the right mouse button.

You can either override OnRButtonDblClkRowCol for all controls or (C++) subclass a specific control and override the control’s RButtonDblClk 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::RButtonDblClk CGXControl::IsKindOf

CGXGridCore

Class Overview | Class Members