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


COleServerItem::OnShow

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

virtual void OnShow( );

Remarks

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.

Requirements

Header: afxole.h

See Also

Reference

COleServerItem Class

Hierarchy Chart

COleServerItem::OnOpen

COleClientItem::Activate