Re: [Lazarus] fsStayOnTop under windows

2009-01-29 Thread Luca Olivetti
En/na Henry Vermaak ha escrit: 2009/1/28 Luca Olivetti l...@wetron.es: En/na Henry Vermaak ha escrit: Very funny, but it's not the case at hand: I just need the windows of my application to always stay on top to the windows of another application. I can do it in delphi and lazarus/qt, I just

Re: [Lazarus] fsStayOnTop under windows

2009-01-29 Thread Luca Olivetti
En/na JoshyFun ha escrit: Affected file is win32callback.inc Thanks, that was exactly what I had in mind. It works beautifully. Now you must control the StayOnTop using the HWND_TOPMOST and the setwindowlong. Setting fsStayOnTop seems to be enough. Bye -- Luca Olivetti Wetron

Re: [Lazarus] fsStayOnTop under windows

2009-01-29 Thread JoshyFun
Hello Hans-Peter, Thursday, January 29, 2009, 3:51:03 AM, you wrote: HV so what happens if the other application wants to be on top of yours? In Windows at least, topmost windows are implemented as a second windows layer, one for normal windows and other for topmost ones. HPD Which Windows

[Lazarus] fsStayOnTop under windows

2009-01-28 Thread Luca Olivetti
Hello, I really need to create forms that stay on top of all other windows (yes, even other applications), but using fsStayOnTop doesn't work (there are a number of bugs about it but the situation isn't clear to me). I found a couple of delphi suggestions (btw, on my old delphi 2.0

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Luca Olivetti
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

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Leslie Kaye
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

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Paul Ishenin
Leslie Kaye wrote: 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.

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Inoussa OUEDRAOGO
Hi, I really need to create forms that stay on top of all other windows (yes, even other applications), but using fsStayOnTop doesn't work (there are a number of bugs about it but the situation isn't clear to me). It recalls me what Raymond Chen ( http://blogs.msdn.com/oldnewthing ) said

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Luca Olivetti
En/na Inoussa OUEDRAOGO ha escrit: Quote How do I create a window that is never covered by any other windows, not even other topmost windows? Imagine if this were possible and imagine if two programs did this. Program A creates a window that is super-topmost and so does Program B. Now the

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Henry Vermaak
2009/1/28 Luca Olivetti l...@wetron.es: En/na Inoussa OUEDRAOGO ha escrit: Quote How do I create a window that is never covered by any other windows, not even other topmost windows? Imagine if this were possible and imagine if two programs did this. Program A creates a window that is

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread JoshyFun
Hello Paul, Wednesday, January 28, 2009, 10:01:39 AM, you wrote: PI the win32 widgetset. Now you complain because of that :) Who is right? PI Delphi 7 at least behave the same - it hides StayOnTop forms when PI application deactivates. No, Delphi 7 keeps StayOnTop windows on top always (it

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread waldo kitty
Inoussa OUEDRAOGO wrote: It recalls me what Raymond Chen ( http://blogs.msdn.com/oldnewthing ) said about that : Quote How do I create a window that is never covered by any other windows, not even other topmost windows? Imagine if this were possible and imagine if two programs did this.

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread JoshyFun
Hello Henry, Wednesday, January 28, 2009, 5:10:47 PM, you wrote: HV so what happens if the other application wants to be on top of yours? In Windows at least, topmost windows are implemented as a second windows layer, one for normal windows and other for topmost ones. If you have 2 topmost

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread John vd Waeter
Quote How do I create a window that is never covered by any other windows, not even other topmost windows? Imagine if this were possible and imagine if two programs did this. Program A creates a window that is super-topmost and so does Program B. Now the user drags the two windows so that

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Benito van der Zander
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

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Luca Olivetti
En/na Henry Vermaak ha escrit: Very funny, but it's not the case at hand: I just need the windows of my application to always stay on top to the windows of another application. I can do it in delphi and lazarus/qt, I just need a hack to do the same under win32. so what happens if the other

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Henry Vermaak
2009/1/28 Luca Olivetti l...@wetron.es: En/na Henry Vermaak ha escrit: Very funny, but it's not the case at hand: I just need the windows of my application to always stay on top to the windows of another application. I can do it in delphi and lazarus/qt, I just need a hack to do the same

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Hans-Peter Diettrich
Benito van der Zander schrieb: Probably the best solution is to create two flags fsStayOnTop(Application) and fsStayOnTopGlobally. The first should be a property of Application, not of the forms, so that only one form can be the topmost one. The second one depends on the capabilities of the

Re: [Lazarus] fsStayOnTop under windows

2009-01-28 Thread Hans-Peter Diettrich
JoshyFun schrieb: HV so what happens if the other application wants to be on top of yours? In Windows at least, topmost windows are implemented as a second windows layer, one for normal windows and other for topmost ones. Which Windows version(s)? DoDi