COleDocument::OnUpdatePasteMenu

afx_msg void OnUpdatePasteMenu( 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

Called by the framework to determine whether an embedded OLE item can be pasted from the Clipboard. The Paste menu command and button are enabled or disabled depending on whether the item can be pasted into the document or not.

COleDocument OverviewClass MembersHierarchy Chart

See Also   COleDocument::OnUpdatePasteLinkMenu, CCmdUI