COleControl::LockInPlaceActive

Call this member function to prevent your control from being deactivated by the container. You should only lock your control for short periods, such as while firing an event. Every locking of the control must be paired with an unlocking of the control, when finished.

Syntax

BOOL LockInPlaceActive( BOOL bLock );

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleControl Overview, COleControl Member Functions, Control Classes