[Lazarus] fsStayOnTop under windows
Leslie Kaye
les.kaye at couchmansfarm.plus.com
Wed Jan 28 14:20:21 CET 2009
I have a little application written in Delphi which will stay on top of
my web browser to give me a count down time for ebay auctions!
I think that the correct behaviour is that if the main form is
fsStayOnTop then the application should stay on top of other applications.
If the main form is not fsStayOnTop then it can be hidden by another
application which has focus.
Within the application, fsStayOnTop forms just stay top of other forms
subject to my comment in this bug report
http://bugs.freepascal.org/view.php?id=11977
regards
Leslie
Luca Olivetti wrote:
> <div class="moz-text-flowed" style="font-family: -moz-fixed">En/na
> Paul Ishenin ha escrit:
>
>> There was bug reports about StayOnTop forms before that they must not
>> stay on top if another application is active. That was implemented in
>> the win32 widgetset. Now you complain because of that :) Who is
>> right? Delphi 7 at least behave the same - it hides StayOnTop forms
>> when application deactivates.
>
> Yes, I saw the bug reports, I don't know who is right or wrong, but
> now I just need the form to stay on top ;-) (I will spawn my app from
> another one when the user clicks a button, and the forms created by my
> application need to be visible even if the user clicks again on the
> other one).
>
>> Maybe we need to rewrite that this piece of code and more generic
>> solution that can satisfy both camps needs to be found. I will try to
>> look at this problem soon.
>
> For the time being it'd be enough for me to know if there's an hack I
> can implement in my application without messing with the lcl.
> Thank you.
>
> Bye
More information about the Lazarus
mailing list