CGXFrameAdapter::OnChangeInsertInfo

virtual void OnChangeInsertInfo(int& nInsertBefore, CGXTabCreateInfo*& pTabCreateInfo, UINT& nID);

nInsertBefore

The index of the tab to insert before

pTabCreateInfo

The tab creation information used

nID

The ID of the tab to be created.

Remarks

Override this function to change the arguments that will be used to insert a tab. The default handler simply sets the name of the label from a string resource as shown below.

CString strLabel;

strLabel.LoadString(GX_IDS_WKBOOKINSERTTAG);

pTabCreateInfo->SetLabel(strLabel);

See Also

 CGXFrameAdapter::GetInsertInfo

CGXFrameAdapter

 Class Overview |  Class Members