You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* DoBeforeCellPaint(): No need to invalidate if we are not actually painting
* CMHintShowPause(): No need to modify hint pause if we do not intend to show the hint. Removed old commented code.
// Tells the application that the tree (and only the tree) does not want a delayed tool tip.
15960
15960
// Normal hints / header hints use the default delay (except for the first time).
15961
15961
15962
-
begin
15963
-
// A little workaround is needed here to make the application class using the correct hint window class.
15964
-
// Once the application gets ShowHint set to true (which is the case when we want to show hints in the tree) then
15965
-
// an internal hint window will be created which is not our own class (because we don't set an application wide
15966
-
// hint window class but only one for the tree). Unfortunately, this default hint window class will prevent
15967
-
// hints for the non-client area to show up (e.g. for the header) by calling CancelHint whenever certain messages
15968
-
// arrive. By setting the hint show pause to 0 if our hint class was not used recently we make sure
15969
-
// that the hint timer (in Forms.pas) is not used and our class is created immediately.
15970
-
//
15971
-
// Note for newer Delphi versions: Does not work because TApplication.HintMouseMessage() not only checks (Pause = 0) but also TApplication.FHintActive,
15972
-
// which is initally False. So this code has been commented. See also issue #728.
15973
-
// if FHintWindowDestroyed then
15974
-
// begin
15975
-
// GetCursorPos(P);
15976
-
// // Check if the mouse is in the header or tool tips are enabled, which must be shown without delay anyway.
15977
-
// if FHeader.UseColumns and (hoShowHint in FHeader.FOptions) and FHeader.InHeader(ScreenToClient(P)) or
0 commit comments