This documentation is archived and is not being maintained.


Call this member function to display the Windows common OLE Object Properties dialog box and allow the user to view and/or change the various properties of the document item.

virtual INT_PTR DoModal( );

Return Value

IDOK or IDCANCEL if successful; otherwise 0. IDOK and IDCANCEL are constants that indicate whether the user selected the OK or Cancel button.

If IDCANCEL is returned, you can call the Windows CommDlgExtendedError function to determine whether an error occurred.

See Also

COlePropertiesDialog Overview | Class Members | Hierarchy Chart | COlePropertiesDialog::OnApplyScale | COlePropertiesDialog::m_psh