BCGSuite for MFC

Detailed Description

The CBCGPGridView class simplifies use of the grid control CBCGPGridCtrl with MFC's document-view architecture.

The grid control object is embedded into the CBCGPGridView object and created in CBCGPGridView::OnCreate by calling on CBCGPGridView::CreateGrid. The CreateGrid method can be overridden in a derived class in order to create a custom grid control.

The CBCGPGridView::OnSize handler resizes the grid control to cover the whole view.

The access to the grid control should be obtained by calling on CBCGPGridView::GetGridCtrl.

See also
CBCGPGridCtrl
+ Inheritance diagram for CBCGPGridView:

Public Member Functions

 GetGridCtrlReturns the embedded grid control object.
 

Protected Member Functions

 CreateGridCalled by the view when it needs to create the embedded grid control.