CExtCmdIcon

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Also available in Prof-UIS Freeware

class CExtCmdIcon

Remarks

The CExtCmdIcon class serves as storage for an UI icon. The class is used in the CExtCmdManager, CExtToolBoxWnd and CExtShortcutListWnd classes.

Header

ExtCmdIcon.h

Constants

The following constants specify the icon flags stored in the m_dwFlags property:

Value Meaning
__EXT_ICON_PERSISTENT_BITMAP_DISABLED If applied, the bitmap specified the CExtCmdIcon::m_bmpDisabledproperty is used instead of that automatically generated by the paint manager.
__EXT_ICON_PERSISTENT_BITMAP_HOVER If applied, the bitmap specified the CExtCmdIcon::m_bmpHoverproperty is used instead of that automatically generated by the paint manager.
__EXT_ICON_PERSISTENT_BITMAP_PRESSED If applied, the bitmap specified the CExtCmdIcon::m_bmpPressedproperty is used instead of that automatically generated by the paint manager.
__EXT_ICON_FLAGS_DEFAULT Specifies the default set of flags which is __EXT_ICON_PERSISTENT_BITMAP_DISABLED, __EXT_ICON_PERSISTENT_BITMAP_HOVER, and __EXT_ICON_PERSISTENT_BITMAP_PRESSED are not applied (the bitmaps for disabled, hovered, and pressed states are generated by the paint manager).

The following constants specify supported bitmap types (the e_paint_type_t enumeration) used in the Paint()and GetBitmap()methods:

Value Meaning
__PAINT_NORMAL Bitmap for the normal state.
__PAINT_DISABLED Bitmap for the disabled state.
__PAINT_HOVER Bitmap for the hovered state.
__PAINT_PRESSED Bitmap for the pressed state.

See Also

Class Members | Hierarchy Chart