Поделиться через


COleControl::LockInPlaceActive

Prevents the container from deactivating your control.

BOOL LockInPlaceActive(
   BOOL bLock 
);

Параметры

  • bLock
    TRUE if the in-place active state of the control is to be locked; FALSE if it is to be unlocked.

Возвращаемое значение

Nonzero if the lock was successful; otherwise 0.

Заметки

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.

Требования

Header: afxctl.h

См. также

Основные понятия

COleControl Class

COleControl Members

Hierarchy Chart