Older Newer
Sun, 24 Feb 2008 10:57:05 . . . . afh [Correct documentation of 1st and 3rd args.]


Changes by last author:

Added:
= setCtlToolTip =

== Syntax ==

:setCtlToolTip(int index, string text, int style)

== Arguments ==

:index

::The index of the control to display this ToolTip.

:text

::The text that the ToolTip should display. If this argument is NULL or "", the ToolTip for this control is deleted.

:style

::Determines the style of the ToolTip.

== Description ==

:This function changes or deletes the tool tip text and style for the user control with the given index.

:The following styles can be set (and may be OR-ed together):

|| symbolic value || numeric || style ||

|| (default value) || 0 || Shows ToolTip under cursor. ||

|| TTF_CENTERTIP || 0x0002 || Shows ToolTip under user control (centered). ||

|| TTF_RTLREADING || 0x0004 || Displays right-to-left text. ||

|| TTF_TRACK || 0x0020 || ToolTip tracks the cursor. ||

|| TTF_ABSOLUTE || 0x0080 || Causes the ToolTip window to be displayed at specific coordinates. (not yet implemented) ||

|| TTF_TRANSPARENT || 0x0100 || Causes the ToolTip control to forward mouse event messages to the parent window. ||

== Example ==

<code>

setCtlToolTip(0, "Follow me!!", 0);

setCtlToolTip(5, "Center me!!", TTF_CENTERTIP);

</code>

== Also see ==

:setCtlColor

== Comments ==

:Tooltips may not always work, due to a bug in some FilterMeister versions. They work on Windows 98SE, but not on Windows 2000 or Windows XP. This bug was fixed as of FilterMeister 1.0 Beta 8.7.