CGXGridCore::StoreHideCol

virtual BOOL StoreHideCol(ROWCOL nCol, BOOL bHide);?

nCol

Specifies the column id. It is 0 for the row header.

bHide

Specifies the hidden state.

Return Value

TRUE if the column can be hidden; FALSE if not.

Remarks

Stores the hidden-flag for the specified column to the hidden columns-map of the parameter-object.

You can override this method if you want to maintain the data in your own classes. The library accesses the data through IsColHidden.

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 ImplementHideCells 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 returns FALSE. No action is performed.

END Control-Factory Specific

See Also

 CGXGridCore::IsColHidden

CGXGridCore

 Class Overview |  Class Members