Megosztás a következőn keresztül:


CToolBarCtrl::GetBitmapFlags

Retrieves the bitmap flags from the toolbar.

UINT GetBitmapFlags( ) const;

Return Value

A UINT that has the TBBF_LARGE flag set if the display can support large toolbar bitmaps, clear otherwise.

Remarks

You should call it after creating the toolbar but before adding bitmaps to the toolbar. The return value indicates whether the display supports large bitmaps or not. If the display supports large bitmaps and if you choose to use them, call SetBitmapSize and SetButtonSize before adding your large bitmap using AddBitmap.

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::AddBitmap

CToolBarCtrl::SetBitmapSize

CToolBarCtrl::SetButtonSize

Other Resources

CToolBarCtrl Members