CToolbar::LoadToolBar

BOOL LoadToolBar( LPCTSTR lpszResourceName );

BOOL LoadToolBar( UINT nIDResource );

Return Value

Nonzero if successful; otherwise 0.

Parameters

lpszResourceName   Pointer to the resource name of the toolbar to be loaded.

nIDResource   Resource ID of the toolbar to be loaded.

Remarks

Call this member function to load the toolbar specified by lpszResourceName or nIDResource.

See toolbar editor in the Visual C++ User’s Guide for more information about creating a toolbar resource.

CToolBar OverviewClass MembersHierarchy Chart

See Also   CToolBar::Create, CToolbar::LoadBitmap, CToolBar::SetButtons