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.
BOOL LockInPlaceActive( BOOL bLock );
Header file: | Afxctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
COleControl Overview, COleControl Member Functions, Control Classes