Help Center

CTooltip.SetWindowThememethod

Sets the visual style of a Tooltip control.

WindowsmethodCTooltip.incdocumented

Syntax

SUB SetWindowTheme (BYVAL hTooltip AS HWND, BYVAL pwszTheme AS WSTRING PTR)

Parameters

NameDescription
hTooltipThe handle of the Tooltip control.
pwszThemePointer to a Unicode string that contains the tooltip visual style to set.

Description

Sets the visual style of a tooltip control.

Note: To use this message, you must provide a manifest specifying Comclt32.dll version 6.0.

Reference

  • Include file CTooltip.inc
  • Defined in AfxNova/CTooltip.inc:647
  • Documented in Windows/WIndows Controls/CTooltip Class.md
  • Topic: CTooltip Class