Freigeben über


COleChangeSourceDialog Class

Used for the OLE Change Source dialog box.

class COleChangeSourceDialog : public COleDialog

Members

Public Constructors

Name

Description

COleChangeSourceDialog::COleChangeSourceDialog

Constructs a COleChangeSourceDialog object.

Public Methods

Name

Description

COleChangeSourceDialog::DoModal

Displays the OLE Change Source dialog box.

COleChangeSourceDialog::GetDisplayName

Gets the complete source display name.

COleChangeSourceDialog::GetFileName

Gets the filename from the source name.

COleChangeSourceDialog::GetFromPrefix

Gets the prefix of the previous source.

COleChangeSourceDialog::GetItemName

Gets the item name from the source name.

COleChangeSourceDialog::GetToPrefix

Gets the prefix of the new source

COleChangeSourceDialog::IsValidSource

Indicates if the source is valid.

Public Data Members

Name

Description

COleChangeSourceDialog::m_cs

A structure that controls the behavior of the dialog box.

Remarks

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

For more information, see the OLEUICHANGESOURCE structure in 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

COleChangeSourceDialog

Requirements

Header: afxodlgs.h

See Also

Reference

COleDialog Class

Hierarchy Chart

COleDialog Class