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 in the Visual C++ User’s Guide for more information about creating a toolbar resource.

Example

See the example for CToolBar::CreateEx.

CToolBar OverviewClass MembersHierarchy Chart

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