共用方式為


CToolTipCtrl::Activate

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

void Activate( 
   BOOL bActivate  
);

Parameters

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

Remarks

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.

Requirements

Header: afxcmn.h

See Also

Concepts

CToolTipCtrl Class

CToolTipCtrl Members

Hierarchy Chart

CToolTipCtrl::UpdateTipText

CToolTipCtrl::SetDelayTime