CGXGridCore::OnActivateGrid

virtual BOOL OnActivateGrid( BOOL bActivate );?

bActivate

Specifies if the window gets activated (TRUE) or deactivated (FALSE).

Return Value

Nonzero if the operation was successful; 0 if it failed.

Remarks

Overridable method which is called when the grid is being activated or deactivated. If the grid is being deactivated and the current cell is active, the method stores the current cell’s data and deactivates the current cell.

This method is either called by CGXGridView::OnActivateView or CGXGridWnd::OnActivate.

See Also

 CGXGridCore::CanActivateGrid

CGXGridCore

 Class Overview |  Class Members