Condividi tramite


COleChangeIconDialog Class

Used for the OLE Change Icon dialog box.

class COleChangeIconDialog : public COleDialog

Members

Public Constructors

Name

Description

COleChangeIconDialog::COleChangeIconDialog

Constructs a COleChangeIconDialog object.

Public Methods

Name

Description

COleChangeIconDialog::DoChangeIcon

Performs the change specified in the dialog box.

COleChangeIconDialog::DoModal

Displays the OLE 2 Change Icon dialog box.

COleChangeIconDialog::GetIconicMetafile

Gets a handle to the metafile associated with the iconic form of this item.

Public Data Members

Name

Description

COleChangeIconDialog::m_ci

A structure that controls the behavior of the dialog box.

Remarks

Create an object of class COleChangeIconDialog when you want to call this dialog box. After a COleChangeIconDialog object has been constructed, you can use the m_ci structure to initialize the values or states of controls in the dialog box. The m_ci structure is of type OLEUICHANGEICON. For more information about using this dialog class, see the DoModal member function.

For more information, see the OLEUICHANGEICON structure in the Windows SDK.

For more information about OLE-specific dialog boxes, see the article Dialog Boxes in OLE.

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CDialog

CCommonDialog

COleDialog

COleChangeIconDialog

Requirements

Header: afxodlgs.h

See Also

Reference

COleDialog Class

Hierarchy Chart

COleDialog Class