COleControl::LockInPlaceActive

This method prevents 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.

At a Glance

Header file: Afxctl.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL LockInPlaceActive( BOOL bLock );