| title | COleDialog Class | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | reference | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | b1ed0aca-3914-4b00-af34-4a4fb491aec7 | |||||||||||||
| caps.latest.revision | 21 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
Provides functionality common to dialog boxes for OLE.
class COleDialog : public CCommonDialog
| Name | Description |
|---|---|
| COleDialog::GetLastError | Gets the error code returned by the dialog box. |
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.
COleDialog
Header: afxodlgs.h
Call the GetLastError member function to get additional error information when DoModal returns IDABORT.
UINT GetLastError() const;
The error codes returned by GetLastError depend on the specific dialog box displayed.
See the DoModal member function in the derived classes for information about specific error messages.