CGXTabBeam::InsertTab

virtual void InsertTab(BOOL bInsert, LPCTSTR szLabel, CObject* pExtra = NULL, BOOL bDelExtra = FALSE, int nWidth = 60);

bInsert

TRUE to insert the tab before the currently selected tab;
FALSE to append the tab after the last tab in the tab-beam.

szLabel

Specifies the label of the tab.

pExtra

Specifies a pointer to an optional object, e.g, pointer to a view object.

bDelExtra

Specifies if the pExtra-object should be destroyed when the associated tab gets destroyed.

nWidth

Specifies the width of the tab.

Remarks

Inserts a tab in the tab-beam.

If the tab-beam is used by the CGXTabWnd class, pExtra pointsto a view object. A view will not be destroyed if the tab gets destroyed.

CGXTabBeam

 Class Overview |  Class Members