CGXGridCore::OnEndTracking

virtual void OnEndTracking(ROWCOL nRow, ROWCOL nCol, int nTrackingMode, CSize& size);?

nRow

Specifies the row id.

nCol

Specifies the column id.

nTrackingMode

Specifies the tracking-mode. The mode can be either GX_TRACKWIDTH when the user is dragging column-widths and GX_TRACKHEIGHT when the user is tracking row-heights.

size

Specifies the new row-height (size.cy) or column-width (size.cx).

Remarks

Overridable method which resets the tracking-mode and executes the user-interaction by either calling SetRowHeight, SetColWidth, SetDefaultRowHeight or SetDefaultColWidth.

This method is called when the user has released the mouse.

Control-Factory Specific ->

This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementUserResizeCells method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.

If no concrete implementation is available this method performs no action. A warning will be displayed in the debug window.

END Control-Factory Specific

See Also

 CGXGridCore::SetColWidth  CGXGridCore::SetDefaultColWidth

CGXGridCore

 Class Overview |  Class Members