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


CToolTipCtrl::GetCurrentTool

Retrieves information, such as the size, position, and text, of the tooltip window displayed by the current tooltip control.

BOOL GetCurrentTool(
          LPTOOLINFO lpToolInfo
) const;

Параметры

Parameter

Description

[out] lpToolInfo

Pointer to a TOOLINFO structure that receives information about the current tooltip window.

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

true if the information is retrieved successfully; otherwise, false.

Заметки

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

Требования

Header: afxcmn.h

См. также

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

CToolTipCtrl Class

CToolTipCtrl Members

Hierarchy Chart

TTM_GETCURRENTTOOL

TOOLINFO