Share via


CSplitterWnd::DeleteView

virtual void DeleteView( int row**, int** col );

Parameters

row

Specifies the splitter window row at which to delete the view.

col

Specifies the splitter window column at which to delete the view.

Remarks

DeleteView is called when a view is to be deleted. If the active view is being deleted, the next view will become active. The default implementation assumes the view will auto delete in PostNcDestroy.

This member function is called by the framework to implement the logic of the dynamic splitter window (that is, if the splitter window has the SPLS_DYNAMIC_SPLIT style). It can be customized, along with the virtual function CreateView, to implement more advanced dynamic splitters.

CSplitterWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::PostNcDestroy, CSplitterWnd::CreateView, CSplitterWnd::DeleteColumn, CSplitterWnd::DeleteRow