다음을 통해 공유


COleLinksDialog::DoModal

Displays the OLE Edit Links dialog box.

virtual INT_PTR DoModal();

Return Value

Completion status for the dialog box. One of the following values:

  • IDOK if the dialog box was successfully displayed.

  • IDCANCEL if the user canceled the dialog box.

  • IDABORT if an error occurred. If IDABORT is returned, call the COleDialog::GetLastError member function to get more information about the type of error that occurred. For a listing of possible errors, see the OleUIEditLinks function in the Windows SDK.

Remarks

If you want to initialize the various dialog box controls by setting members of the m_el structure, you should do it before calling DoModal, but after the dialog object is constructed.

Requirements

Header: afxodlgs.h

See Also

Concepts

COleLinksDialog Class

COleLinksDialog Members

Hierarchy Chart

COleDialog::GetLastError

CDialog::DoModal

COleLinksDialog::m_el