<< Return to Main Index

< Return to Class Index

CGXGridCore::UpdateMoveCols

virtual void UpdateMoveCols(ROWCOL nFromCol, ROWCOL nToCol, ROWCOL nDestCol, UINT flags, BOOL bCreateHint = FALSE);?

nFromCol

Specifies the first column.

nToCol

Specifies the last column.

nDestCol

Specifies the destination column.

flags

GX_INVALIDATE simply invalidates the window area right of nFromCol.

bCreateHint

Specifies if a hint should be created.

Remarks

Overridable method which updates the window after moving columns.

The method creates the following hint:

   CGXGridHint hint(gxHintUpdateMoveCols, m_nViewID);
   hint.nCol1 = nFromCol;
   hint.nCol2 = nToCol;
   hint.nCol3 = nDestCol;
   hint.flags = flags;

You can override this method if you need to change the hint.

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 ImplementMoveRowsCols 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::MoveCols CGXGridHint

CGXGridCore

Class Overview | Class Members