IAPI::AddTooltipWindowText

property AddTooltipWindowText. (since v2.35.8)

Adds a text message to a tooltip window’s parent control (aka child window).

 

HRESULT AddTooltipWindowText(
  long hWndToolTip,
  long hWndChild,
  BSTR message,
 long *pVal
);

Parameters

hWndToolTip

[in]

.  Handle of the tooltip window

hWndChild

[in]

.  Handle of the child window that belongs to tooltip window’s parent.

   It can be fetched by GetDlgItem(…)

message

[in]

.  Text message

pVal

[out, retval] The returned value is 1 if succeeded or 0 if failed.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI