int CBCGPTabView::AddView | ( | CRuntimeClass * | pViewClass, |
const CString & | strViewLabel, | ||
int | iIndex = -1 , |
||
CCreateContext * | pContext = NULL |
||
) |
Adds a new view to the tab control.
Call this function to add a new view to the tab control that embedded to a frame.
pViewClass | A pointer to a runtime class of the inserted view. |
strViewLabel | Specifies the tab's text. |
iIndex | Specifies the zero-based position to insert at. If the position is -1 the new tab at the end. |
pContext | The create context of the view. |