CToolBar::LoadBitmap
BOOLLoadBitmap(LPCTSTRlpszResourceName**);**
BOOLLoadBitmap(UINTnIDResource**);**
Return Value
Nonzero if successful; otherwise 0.
Parameters
lpszResourceName
Pointer to the resource name of the bitmap to be loaded.
nIDResource
Resource ID of the bitmap to be loaded.
Remarks
Call this member function to load the bitmap specified by lpszResourceName or nIDResource. The bitmap should contain one image for each toolbar button. If the images are not of the standard size (16 pixels wide and 15 pixels high), call SetSizes to set the button sizes and their images.
CToolBar Overview | Class Members | Hierarchy Chart
See Also CToolBar::Create, CToolBar::SetButtons, CToolBar::SetSizes, CToolBar::LoadToolBar