Condividi tramite


COleControlSite::QuickActivate

Quick activates the contained control.

virtual BOOL QuickActivate( );

Return Value

Nonzero if the control site was activated, otherwise zero.

Remarks

This function should be called only if the user is overriding the creation process of the control.

The IPersist*::Load and IPersist*::InitNew methods should be called after quick activation occurs. The control should establish its connections to the container's sinks during quick activation. However, these connections are not live until IPersist*::Load or IPersist*::InitNew has been called.

Requirements

Header: afxocc.h

See Also

Reference

COleControlSite Class

Hierarchy Chart

Other Resources

COleControlSite Members