共用方式為


COleClientItem::OnActivateUI

The framework calls OnActivateUI when the object has entered the active UI state.

virtual void OnActivateUI( );

Remarks

The object has now installed its tool bar and menus.

The default implementation remembers the server's HWND for later GetServerWindow calls.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::OnDeactivate

COleClientItem::OnDeactivateUI

COleClientItem::OnActivate

COleClientItem::CanActivate