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.
Header file: | Afxctl.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
BOOL LockInPlaceActive( BOOL bLock );