Udostępnij za pośrednictwem


CMFCImageEditorDialog Class

The CMFCImageEditorDialog class supports an image editor dialog box.

class CMFCImageEditorDialog : public CDialogEx

Members

Public Constructors

Name

Description

CMFCImageEditorDialog::CMFCImageEditorDialog

Constructs a CMFCImageEditorDialog object.

Remarks

The CMFCImageEditorDialog class provides a dialog box that includes:

  • A picture area that you use to modify individual pixels in an image.

  • Drawing tools to modify the pixels in the picture area.

  • A color palette to specify the color that is used by the drawing tools.

  • A preview area that displays the effect of your edit.

The following illustration shows an image editor dialog box.

CMFCImageEditorDialog dialog box

One way to use a CMFCImageEditorDialog object is to pass it a CBitmap image to be edited. Do not create a large image because the image editing area has a limited size and the logical pixel size is adjusted to fit the area. Call the DoModal method to start a modal dialog box.

Inheritance Hierarchy

CObject

   CCmdTarget

      CWnd

         CDialog

            CDialogEx

               CMFCImageEditorDialog

Requirements

Header: afximageeditordialog.h

See Also

Reference

Hierarchy Chart

CMFCToolBar Class

Other Resources

MFC Classes