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


CToolTipCtrl::Activate

Call this function to activate or deactivate a tool tip control.

void Activate( 
   BOOL bActivate  
);

Параметры

  • bActivate
    Specifies whether the tool tip control is to be activated or deactivated.

Заметки

If bActivate is TRUE, the control is activated; if FALSE, it is deactivated.

When a tool tip control is active, the tool tip information appears when the cursor is on a tool that is registered with the control; when it is inactive, the tool tip information does not appear, even when the cursor is on a tool.

Пример

See the example for CPropertySheet::GetTabControl.

Требования

Header: afxcmn.h

См. также

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

CToolTipCtrl Class

CToolTipCtrl Members

Hierarchy Chart

CToolTipCtrl::UpdateTipText

CToolTipCtrl::SetDelayTime