Condividi tramite


CSplitterWnd::DeleteView

Deletes a view from the splitter window.

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

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.

Requirements

Header: afxext.h

See Also

Reference

CSplitterWnd Class

Hierarchy Chart

CWnd::PostNcDestroy

CSplitterWnd::CreateView

CSplitterWnd::DeleteColumn

CSplitterWnd::DeleteRow

Other Resources

CSplitterWnd Members