I have an application that uses my own balloon form. This is a non-bordered, fsStayOnTop kind form.
I show it with this code:
ShowWindow(Handle, SW_SHOWNOACTIVATE);
Visible := True;
Today I realized that if I activate another application then the balloon is not appearing! So it is loosing it's stay on top style.
Environment: Win7/x64 Delphi 6 Professional
What I can do with it?
Thanks: dd
What worked for me in the past when struggling with stay-on-top forms:
Try this instead of your
ShowWindow
call. This stays on top of all windows (do you really want this?). Also it feelds kind of hacky because it omits theRestoreTopMosts
call which the documentation says we should call (so other stay-on-top windows in your application will be affected). So there might be a better solution.