COleDialog Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at COleDialog Class.

Provides functionality common to dialog boxes for OLE.

Syntax

class COleDialog : public CCommonDialog  

Members

Public Methods

Name Description
COleDialog::GetLastError Gets the error code returned by the dialog box.

Remarks

The Microsoft Foundation Class Library provides several classes derived from COleDialog:

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

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CDialog

CCommonDialog

COleDialog

Requirements

Header: afxodlgs.h

COleDialog::GetLastError

Call the GetLastError member function to get additional error information when DoModal returns IDABORT.

UINT GetLastError() const;  

Return Value

The error codes returned by GetLastError depend on the specific dialog box displayed.

Remarks

See the DoModal member function in the derived classes for information about specific error messages.

See Also

CCommonDialog Class
Hierarchy Chart