SECToolBarManager::AddBitmapResource

Append a new bitmap resource at runtime for use with the available custom toolbar buttons

Defined in: tbarmgr.cpp

Syntax

AddBitmapResource(LPCTSTR lpszStdBmpName,LPCTSTR lpszLargeBmpName,const UINT* lpIDArray, UINT nIDCount)

AddBitmapResource(UINT nIDStdBmpName,UINT nIDLargeBmpName,const UINT* lpIDArray, UINT nIDCount)

Return Value

True if toolbar bitmap was successfully added.

Parameters

lpszStdBmpName

Resource string for bitmap of the standard size buttons.

lpszLargeBmpName

Resource string for bitmap of the large size buttons. If you are not supplying "large button mode", you can use the same resource string as specified by lpszStdBmpName.

lpIDArray

Array of button ids corresponding to this new bitmap resource.

nIDCount

Number of elements in lpIDArray

nIDStdBmp

Like lpszStdBmpName, but a resource id.

nIDLargeBmp

Like lpszLargeBmpName, but a resource id.

Comments

Use this function to add a new toolbar bitmap resource at runtime.

See Also

LoadToolBarResource

AddBitmap