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


COleServerItem::OnShow

Called by the framework to instruct the server application to display the OLE item in place.

virtual void OnShow( );

Заметки

This function is typically called when the user of the container application creates an item or executes a verb, such as Edit, that requires the item to be shown. The default implementation attempts in-place activation. If this fails, the function calls the OnOpen member function to display the OLE item in a separate window.

Override this function if you want to perform special processing when an OLE item is shown.

Требования

Header: afxole.h

См. также

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

COleServerItem Class

COleServerItem Members

Hierarchy Chart

COleServerItem::OnOpen

COleClientItem::Activate