<< Return to Main Index

< Return to Class Index

CGXDTabWnd::SetTabName

void SetTabName(int nTab, LPCTSTR szName, BOOL bNotifySheet = TRUE);

void SetTabName(const CWnd* pSheet, LPCTSTR szName, BOOL bNotifySheet = TRUE);

nTab

This index of the tab to change name.

pSheet

A pointer to the sheet window whose corresponding tab name to be changed.

szName

New string name for the tab.

bNotifySheet

If TRUE, it will send a WM_GX_CHANGEDTAB message to this CGXDTabWnd window.

Remarks

Call these functions to set a new name for a sheet window