Qt-interest Archive, April 2008
Re: Making a window/application always on bottom
Message 1 in thread
Hi Allen
I don't know of anything within Qt... but...
It may be possible to intercept the WM_MOUSEACTIVATE message for your top
level window and discard it.. that way your window won't be activated when
you click on it, and then it shouldn't be raised. Looking at the Win32
documentation for Z order and SetActiveWindow doesn't reveal anything for
keeping windows on the bottom.
Another option to explore would be Active Desktop, which will allow you to
embed an active-x control as the desktop background (there might be some 3rd
party way of making any window the desktop backrgound, not sure).
Hope that helps
Ross.
----- Original Message -----
From: "Allen Bierbaum" <abierbaum@xxxxxxxxx>
To: <qt-interest@xxxxxxxxxxxxx>
Sent: Tuesday, April 01, 2008 1:22 AM
Subject: Making a window/application always on bottom
> Does anyone know how to make a QT application window be always on
> bottom using Windows?
>
> A bit more detail... I have an application that runs fullscreen. I
> want to be able to start other applications (for example a web
> browser) from this application. That works fine, but as soon as I
> click back on my full-screen application, the other application
> windows disappear and they can not be used. What I would like is to
> find a way to make the QT application always be behind the
> applications that it launches. For example this would allow me to let
> the user select a URL in my application, use the QDesktopServices to
> open the url, and then have the web browser come up on top of my
> application.
>
> Does anyone have any ideas for how to make this work? On know that
> with X windows there is a concept of tying an application to the root
> window, but I don't have any clue how to accomplish something like
> this on Windows.
>
> Thanks,
> Allen
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]