BOOL LockInPlaceActive( BOOL bLock );
Return Value
Nonzero if the lock was successful; otherwise 0.
Parameters
bLock
TRUE if the in-place active state of the control is to be locked; FALSE if it is to be unlocked.
Remarks
Call this function to prevent the container from deactivating your control. Note that every locking of the control must be paired with an unlocking of the control when finished. You should only lock your control for short periods, such as while firing an event.