CGXGridCore::OnLButtonDblClkRowCol

virtual BOOL OnLButtonDblClkRowCol(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::LButtonDblClk when the user has double-clicked the left mouse button.

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

CGXGridCore

 Class Overview |  Class Members