Skip to content

piIcon - cToolTipController

Sets a standard icon in the ToolTip

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer piIcon
Access Type Syntax
Read Access: Get piIcon to IntegerVariable
Write Access: Set piIcon to IntegerVariable/Value

Description

Set piIcon to one of the following values to specify the icon to be displayed.

Constant Meaning
TTI_NONE No Icon
TTI_INFO Info Icon
TTI_WARNING Warning Icon
TTI_ERROR Error Icon
TTI_INFO_LARGE Large Info Icon *
TTI_WARNING_LARGE Large Warning Icon *
TTI_ERROR_LARGE Large Error Icon *
  • only supported on Windows Vista (or higher) machines

Icons cannot be displayed in a ToolTip unless the psTitle property is non-blank. If you set the piIcon property when psTitle is blank, then the cToolTipController will automatically assign the psTitle property to "Title".

To display an icon that is not one of the standard icon constants, use LoadIcon.

Default is TTI_NONE.

Col 1 Col 2
Note: Some of the tool tip appearance attributes, such as images and balloon style, will appear differently under Windows XP and Vista. This is the expected behavior of this Windows control. When setting these properties in your application, you will want to verify the tool tip appearance on all target platforms and skins.

See Also

psTitle | LoadIcon