Prototype
HBITMAP __cdecl fnToolbarBitmap ( void );
Return value
A handle to a bitmap.
Parameters
None
Remarks
If this function is implemented, and the returned value is not NULL, which is legal, a new button with this image will be added to the ShapeUp statistical toolbar to invoke this plug-in.
Notice: If using MFC, be sure to start the function with AFX_MANAGE_STATE(AfxGetStaticModuleState());
Example
bool __cdecl fnToolbarBitmap ( void ) { AFX_MANAGE_STATE(AfxGetStaticModuleState()); static HBITMAP hbm = ::CreateMappedBitmap(AfxGetResourceHandle(), IDB_BITMAP, 0, NULL, 0); return hbm; }
See Also