Поделиться через


COleDocument::OnUpdatePasteMenu

Called by the framework to determine whether an embedded OLE item can be pasted from the Clipboard.

afx_msg void OnUpdatePasteMenu(
   CCmdUI* pCmdUI 
);

Параметры

  • 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.

Заметки

The Paste menu command and button are enabled or disabled depending on whether the item can be pasted into the document or not.

Требования

Header: afxole.h

См. также

Основные понятия

COleDocument Class

COleDocument Members

Hierarchy Chart

COleDocument::OnUpdatePasteLinkMenu

CCmdUI Class