Share via


COleDocument::OnUpdatePasteLinkMenu

Called by the framework to determine whether a linked OLE item can be pasted from the Clipboard.

afx_msg void OnUpdatePasteLinkMenu(
   CCmdUI* pCmdUI 
);

Parameters

  • pCmdUI
    A pointer to a CCmdUI structure that represents the menu that generated the update command. The update handler calls the Enable member function of the CCmdUI structure through pCmdUI to update the user interface.

Remarks

The Paste Special menu command is enabled or disabled depending on whether the item can be pasted into the document or not.

Requirements

Header: afxole.h

See Also

Reference

COleDocument Class

Hierarchy Chart

COleDocument::OnUpdatePasteMenu

CCmdUI Class

Other Resources

COleDocument Members