Compartilhar via


COleUpdateDialog::COleUpdateDialog

Constructs a COleUpdateDialog object.

explicit COleUpdateDialog( 
   COleDocument* pDoc, 
   BOOL bUpdateLinks = TRUE, 
   BOOL bUpdateEmbeddings = FALSE, 
   CWnd* pParentWnd = NULL  
);

Parameters

  • pDoc
    Points to the document containing the links that may need updating.

  • bUpdateLinks
    Flag that determines whether linked objects are to be updated.

  • bUpdateEmbeddings
    Flag that determines whether embedded objects are to be updated.

  • pParentWnd
    Points to the parent or owner window object (of type CWnd) to which the dialog object belongs. If it is NULL, the parent window of the dialog box will be set to the main application window.

Remarks

This function constructs only a COleUpdateDialog object. To display the dialog box, call DoModal. This class should be used instead of COleLinksDialog when you want to update only existing linked or embedded items.

Requirements

Header: afxodlgs.h

See Also

Reference

COleUpdateDialog Class

Hierarchy Chart

COleDialog Class

COleLinksDialog Class

COleDocument Class

CWnd Class

CDialog Class

COleUpdateDialog::DoModal

Other Resources

COleUpdateDialog Members