Share via


COleUpdateDialog::DoModal

Displays the Edit Links dialog box in update mode.

virtual INT_PTR DoModal( );

Return Value

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

  • IDOK if the dialog box returned successfully.

  • IDCANCEL if none of the linked or embedded items in the current document need updating.

  • 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

All links and/or embeddings are updated unless the user selects the Cancel button.

Requirements

Header: afxodlgs.h

See Also

Reference

COleUpdateDialog Class

Hierarchy Chart

COleDialog::GetLastError

COleLinksDialog::DoModal