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 JAM-Software#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
16348
16289
// arrive. By setting the hint show pause to 0 if our hint class was not used recently we make sure
16349
16290
// that the hint timer (in Forms.pas) is not used and our class is created immediately.
16350
-
if FHintWindowDestroyed then
16351
-
begin
16352
-
GetCursorPos(P);
16353
-
// Check if the mouse is in the header or tool tips are enabled, which must be shown without delay anyway.
16354
-
if FHeader.UseColumns and (hoShowHint in FHeader.FOptions) and FHeader.InHeader(ScreenToClient(P)) or
16355
-
(FHintMode = hmToolTip) then
16356
-
Message.Pause^ := 0;
16357
-
end
16358
-
else
16291
+
//
16292
+
// Note for newer Delphi versions: Does not work because TApplication.HintMouseMessage() not only checks (Pause = 0) but also TApplication.FHintActive,
16293
+
// which is initally False. So this code has been commented. See also issue #728.
16294
+
// if FHintWindowDestroyed then
16295
+
// begin
16296
+
// GetCursorPos(P);
16297
+
// // Check if the mouse is in the header or tool tips are enabled, which must be shown without delay anyway.
16298
+
// if FHeader.UseColumns and (hoShowHint in FHeader.FOptions) and FHeader.InHeader(ScreenToClient(P)) or
0 commit comments