<< Return to Main Index

< Return to Class Index

CGXTabWnd::SetTabName

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

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

nTab

Specifies the zero-based index for the sheet.

pSheet

A pointer to the window object.

szName

A pointer to a zero-terminated string which holds the new tab name for the specified sheet.

bNotifySheet

TRUE if a WM_GX_CHANGEDTAB message should be sent to the worksheet window. FALSE otherwise.

Remarks

Changes the tab name of a given sheet.

See Also

CGXTabBeam::GetTab CGXTabInfo CGXTabWnd::GetTabName

CGXTabWnd

Class Overview | Class Members