Уреди

Делите путем


CMFCImageEditorPaletteBar Class

Provides palette bar functionality to an image editor dialog box.

Syntax

class CMFCImageEditorPaletteBar : public CMFCToolBar

Members

Public Methods

Name Description
CMFCImageEditorPaletteBar::GetRowHeight Returns the height of toolbar buttons. (Overrides CMFCToolBar::GetRowHeight.)
CMFCImageEditorPaletteBar::IsButtonExtraSizeAvailable Determines whether the toolbar can display buttons that have extended borders. (Overrides CMFCToolBar::IsButtonExtraSizeAvailable.)

Remarks

This class is not intended to be used directly from your code.

The framework uses this class to display a palette bar in an image editor dialog box. For more information about the image editor dialog box, see CMFCImageEditorDialog Class.

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CBasePane

CPane

CMFCBaseToolBa

CMFCToolBar

CMFCImageEditorPaletteBar

Requirements

Header: afximageeditordialog.h

CMFCImageEditorPaletteBar::GetRowHeight

Returns the height of toolbar buttons.

virtual int GetRowHeight() const;

Return Value

The height of each button on the toolbar.

CMFCImageEditorPaletteBar::IsButtonExtraSizeAvailable

Determines whether the toolbar can display buttons that have extended borders.

virtual BOOL IsButtonExtraSizeAvailable() const;

Return Value

This method returns FALSE.

See also

Hierarchy Chart
Classes
CMFCImageEditorDialog Class