Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this member function to load the toolbar specified by lpszResourceName or nIDResource.
BOOL LoadToolBar(
LPCTSTR lpszResourceName
);
BOOL LoadToolBar(
UINT nIDResource
);
Parameters
lpszResourceName
Pointer to the resource name of the toolbar to be loaded.nIDResource
Resource ID of the toolbar to be loaded.
Return Value
Nonzero if successful; otherwise 0.
Remarks
See toolbar editor in for more information about creating a toolbar resource.
Example
See the example for CToolBar::CreateEx.
Requirements
Header: afxext.h