From 1260a2e94cb7cde80085e70ad9855faee945719b Mon Sep 17 00:00:00 2001
From: dsiders
If the hint text or hint data was not assigned in the event handlers, the hint -text for the hovered control is used. Only the first "|"-delimited line of -text in TControl.Hint is used for the hint. +text for the hovered control is used. Only the first "|"-delimited line of text +in TControl.Hint is used for the hint.
The hint window for the application is created (or re-created) and configured -as needed. This includes setting the BiDiMode in the hint window to match the -hint control, as well as the position and color for the hint window. +as needed, and the show hint command is performed for the hint control. The +ActivateHintData method in the hint window is called to display (or hide) the +hint window and activate (or reset) the auto-hide timer.
-ActivateHintData is called to display the hint window when hint data is used -in the hint information. ActivateHint is called to display the hint window -when the hint information contains only hint text. The timer used to auto-hide -the hint window is started using the hide or reshow timeout values found in -the hint information. -
--If the hint control is not assigned (no longer hovered) or the hint text is -empty, the HideHint method is called to hide an existing hint window. +If the hint control is no longer valid or the hint text is empty, the HideHint +method is called to hide an existing hint window.