共用方式為


CTreeCtrl::ShowInfoTip

Displays the infotip for the specified item in the current tree-view control.

void ShowInfoTip(
     HTREEITEM hItem
);

Parameters

Parameter

Description

[in] hItem

A handle to a tree-view item in the control. For more information, see the hItem member of the TVITEMEX structure.

Remarks

For more information about the difference between tooltips and infotips, search for the "Tooltips and Infotips" topic at Microsoft Developer Network.

This method sends the TVM_SHOWINFOTIP message, which is described in the Windows SDK.

Requirements

Header: afxcmn.h

This method is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

See Also

Reference

CTreeCtrl Class

Hierarchy Chart

TVM_SHOWINFOTIP