<< Return to Main Index

< Return to Class Index

CGXTabCreateInfo::Initialize

void Initialize(CCreateContext* pContext, gxContextGen gen  =  gxGenFromDefault, CDocTemplate* pDocTemplate = NULL, const TCHAR* pszLabel = NULL, BOOL bUseContextIntact = FALSE);

pContext

CcreateContext pointer

gen 

enum gxContextGen. Refer below.

pDocTemplate

The document template to be used.

pszLabel

The label for the associated tab.

bUseContextIntact

Whether the create context is to be used intact. If this is set to FALSE then the CGXTabWndMgr class will generate meaningful values.

Remarks

Initializes a CGXTabCreateInfo object from the parameters passed in.

The enum that is passed in as the second parameter (gxContextGen) is interpreted as shown below