Share via


COleClientItem::SetLinkUpdateOptions

Call this function to set the link-update option for the presentation of the specified linked item.

void SetLinkUpdateOptions( 
   OLEUPDATE dwUpdateOpt  
);

Parameters

  • dwUpdateOpt
    The value of the link-update option for this item. This value must be one of the following:

    • OLEUPDATE_ALWAYS   Update the linked item whenever possible. This option supports the Automatic link-update radio button in the Links dialog box.

    • OLEUPDATE_ONCALL   Update the linked item only on request from the container application (when the UpdateLink member function is called). This option supports the Manual link-update radio button in the Links dialog box.

Remarks

Typically, you should not change the update options chosen by the user in the Links dialog box.

For more information, see IOleLink::SetUpdateOptions in the Windows SDK.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::GetLinkUpdateOptions

COleLinksDialog Class

Other Resources

COleClientItem Members