Editare

Partajați prin


CMFCToolBarInfo Class

Contains the resource IDs of toolbar images in various states. CMFCToolBarInfo is a helper class that is used as a parameter of the CMFCToolBar::LoadToolBarEx method.

Syntax

class CMFCToolBarInfo

Members

Data Members

Name Description
CMFCToolBarInfo::m_uiColdResID Resource ID of the toolbar bitmap that contains regular (cold) toolbar images.
CMFCToolBarInfo::m_uiDisabledResID Resource ID of the toolbar bitmap that contains disabled toolbar images.
CMFCToolBarInfo::m_uiHotResID Resource ID of the toolbar bitmap that contains selected (hot) toolbar images.
CMFCToolBarInfo::m_uiLargeColdResID Resource ID of the toolbar bitmap that contains large, regular toolbar images.
CMFCToolBarInfo::m_uiLargeDisabledResID Resource ID of the toolbar bitmap that contains large, disabled toolbar images.
CMFCToolBarInfo::m_uiLargeHotResID Resource ID of the toolbar bitmap that contains large, selected toolbar images.
CMFCToolBarInfo::m_uiMenuDisabledResID Resource ID of the toolbar bitmap that contains disabled menu images.
CMFCToolBarInfo::m_uiMenuResID Resource ID of the toolbar bitmap that contains menu images.

Remarks

A full toolbar bitmap consists of small toolbar images (buttons) of a fixed size. Each resource ID that is stored in a CMFCToolBarInfo object is a bitmap that contains a full set of toolbar images in a single state (for example, selected, disabled, large, or menu images).

Inheritance Hierarchy

CMFCToolBarInfo

Requirements

Header: afxtoolbar.h

CMFCToolBarInfo::m_uiColdResID

Specifies a resource ID for all the regular button images of a toolbar.

UINT m_uiColdResID;

CMFCToolBarInfo::m_uiDisabledResID

Specifies a resource ID for the button-unavailable images of a toolbar.

UINT m_uiDisabledResID;

CMFCToolBarInfo::m_uiHotResID

Specifies a resource ID for all the highlighted button images of a toolbar.

UINT m_uiHotResID

CMFCToolBarInfo::m_uiLargeColdResID

Specifies a resource ID for all the large regular button images of a toolbar.

UINT m_uiLargeColdResID

CMFCToolBarInfo::m_uiLargeDisabledResID

Specifies a resource ID for all the large disabled button images of a toolbar.

UINT m_uiLargeDisabledResID;

CMFCToolBarInfo::m_uiLargeHotResID

Specifies a resource ID for all the large highlighted images of a toolbar.

UINT m_uiLargeHotResID;

CMFCToolBarInfo::m_uiMenuDisabledResID

Specifies a resource ID for the command-unavailable images of a toolbar.

UINT m_uiMenuDisabledResID;

CMFCToolBarInfo::m_uiMenuResID

Specifies a resource ID for all the regular menu item images of a toolbar.

UINT m_uiMenuResID;

See also

Hierarchy Chart
Classes
CMFCToolBar Class