CToolBarCtrl::AddString

int AddString( UINT nStringID );

Return Value

The zero-based index of the first new string added if successful; otherwise –1.

Parameters

nStringID

Resource identifier of the string resource to add to the toolbar control’s string list.

Remarks

Call this function to add a new string, passed as a resource ID, to the toolbar’s internal list of strings.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::AddStrings, CToolBarCtrl::AddButtons, CToolBarCtrl::InsertButton, CToolBarCtrl::AddBitmap