CGXControl::GetMarkHeaderState

virtual BOOL GetMarkHeaderState(ROWCOL nRow, ROWCOL nCol, const CGXStyle& style);

nRow

Specifies the row id.

nCol

Specifies the column id.

style

A const reference to the style-object of the cell.

Return Value

Returns TRUE if this is a header cell and if the current cell is in the same row or column as the header cell; FALSE otherwise.

Remarks

Call this function if you want to implement your own header cell type and support the pressed-look header effect for the current cell.

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 ImplementMarkEditHeader 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

CGXControl

 Class Overview |  Class Members