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
Further work on #770: After hint animation was removed, we can also remove the global variable FHintWindowDestroyed, which was needed for coordinating hint animations.
// hints for the non-client area to show up (e.g. for the header) by calling CancelHint whenever certain messages
16047
15988
// arrive. By setting the hint show pause to 0 if our hint class was not used recently we make sure
16048
15989
// that the hint timer (in Forms.pas) is not used and our class is created immediately.
16049
-
if FHintWindowDestroyed then
16050
-
begin
16051
-
GetCursorPos(P);
16052
-
// Check if the mouse is in the header or tool tips are enabled, which must be shown without delay anyway.
16053
-
if FHeader.UseColumns and (hoShowHint in FHeader.FOptions) and FHeader.InHeader(ScreenToClient(P)) or
16054
-
(FHintMode = hmToolTip) then
16055
-
Message.Pause^ := 0;
16056
-
end
16057
-
else
15990
+
//
15991
+
// Note for newer Delphi versions: Does not work because TApplication.HintMouseMessage() not only checks (Pause = 0) but also TApplication.FHintActive,
15992
+
// which is initally False. So this code has been commented. See also issue #728.
15993
+
// if FHintWindowDestroyed then
15994
+
// begin
15995
+
// GetCursorPos(P);
15996
+
// // Check if the mouse is in the header or tool tips are enabled, which must be shown without delay anyway.
15997
+
// if FHeader.UseColumns and (hoShowHint in FHeader.FOptions) and FHeader.InHeader(ScreenToClient(P)) or
0 commit comments