Поделиться через


COlePropertiesDialog::DoModal

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.

Requirements

Header: afxodlgs.h

See Also

Reference

COlePropertiesDialog Class

Hierarchy Chart

COlePropertiesDialog::OnApplyScale

COlePropertiesDialog::m_psh