MainFormOnTaskbar + tooltip causes focus-stealing
问题 I built the code below using Delphi XE2. It creates Form1, and Form1 immediately creates an instance of Form2. When I press the button on Form2 a second Form2 is created. Now if I hover the mouse over the button on this second, topmost, Form2 and wait for the tooltip to appear, the moment the tooltip appears, the first Form2 comes to the front, stealing focus. The problem occurs only if Application.MainFormOnTaskbar is True . It also relies on the first Form2 being created from Form1's