CToolTipCtrl::Activate

void Activate( BOOL bActivate );

Parameters

bActivate

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

Remarks

Call this function to activate or deactivate a tool tip control. 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.

Example

See the example for CPropertySheet::GetTabControl.

CToolTipCtrl OverviewClass MembersHierarchy Chart

See Also   CToolTipCtrl::UpdateTipText, CToolTipCtrl::SetDelayTime