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

Properties

m_bmpDisabled Bitmap object representing the icon in the disabled state.
m_bmpHover Bitmap object representing the icon in the hovered state.
m_bmpNormal Bitmap object representing the icon in the normal state.
m_bmpPressed Bitmap object representing the icon in the pressed state.
m_dwFlags Specifies the flags applied to this icon object. By default, the property is initialized to __EXT_ICON_FLAGS_DEFAULT.

Classes

~CExtCmdIcon Destructor.
AssignFromHBITMAP Initializes this object with the bitmap.
AssignFromHICON Assigns the icon to the this object.
AssignFromOther Copies the properties of another CExtCmdIcon to this object.
CExtCmdIcon Default and copy constructors.
CreateCheckMarkIcon Creates an icon object with a check mark image for a pop-up menu.
CreateEmptyIcon Creates an icon object with the image that contains only transparent pixels.
CreateRadioMarkIcon Creates an icon object with a radio mark image for a pop-up menu.
CreateIndeterminatedSquareIcon Creates an icon object with a square like mark image used for displaying check boxes inside a pop-up menu items which have indeterminate state .
CreateScaledCopy Creates a scaled copy of another icon object.
Empty Removes the current image and empties this object.
ExtractEditableBitmap Extracts the bitmap, transparent color and color palette for editing the image in the image editor (CExtImageEditWnd). The method returns true if successful or false otherwise.
ExtractHICON Creates a handle of the icon identical to the one stored in the CExtCmdIcon object. The bReplaceSysColors parameter allows you to replace gray colors with system colors as the Win32's LoadImage() function does it.
GetBitmap Returns the bitmap object stored in the CExtCmdIcon object.
GetSize Returns the bitmap size.
IsEmpty Returns true if the object is empty or false otherwise.
Paint Paints the image.
PaintAccentColorized Paints the faded version of the image.
PaintAccentEmboss Paints the embossed version of the image similar to that you can see on disabled toolbar icons when the Office 2000 style is applied.
PaintAccentMono Paints the mono colored version of the image.
Scale Resizes the image and returns true if successful or false otherwise.
Serialize Serializes the icon.
SyncSysColors Replaces gray colors with system colors as the Win32's LoadImage() function does it.

Overridables

OnContentChanged Called when the stored bitmap is changed.
OnDisplayChange Called when the current display settings are changed.
OnEmptyGeneratedBitmaps Called when the bitmaps generated by the paint manager are to be deleted.
OnGlobalPaintManagerChanged Called when the current paint manager is changed.
OnSettingChange Called when the current system settings are changed.
OnSysColorChange Called when the current system colors are changed.
OnThemeChanged Called when the current Windows XP theme is changed.

Operators

operator= Assignment operator.
operator CSize Returns the bitmap size.

See Also

CExtCmdIcon Overview | Hierarchy Chart