Qt-interest Archive, March 2008
Window under cursor
Message 1 in thread
Hi, list.
Is it possible to get at a window under the cursor, even if that window is not
part of my QApplication? What I'd like to do is allow the user to click on
any window and have my Qt application be informed of the WM_CLASS of the
selected window.
Thanks,
Tro
--
[ signature omitted ]
Message 2 in thread
On Thursday 20 March 2008 02:00:53 Tro wrote:
> Hi, list.
>
> Is it possible to get at a window under the cursor, even if that window is
> not part of my QApplication? What I'd like to do is allow the user to click
> on any window and have my Qt application be informed of the WM_CLASS of the
> selected window.
see svn://libqxt.org/svn/libqxt/sandbox/jpnurmi/QxtGui/demos/qxtsnapshot
--
[ signature omitted ]
Message 3 in thread
On Thursday 20 March 2008, Arvid Ephraim Picciani wrote:
> On Thursday 20 March 2008 02:00:53 Tro wrote:
> > Hi, list.
> >
> > Is it possible to get at a window under the cursor, even if that window
> > is not part of my QApplication? What I'd like to do is allow the user to
> > click on any window and have my Qt application be informed of the
> > WM_CLASS of the selected window.
>
> see svn://libqxt.org/svn/libqxt/sandbox/jpnurmi/QxtGui/demos/qxtsnapshot
Thanks for the pointer. I don't want to include any non-standard-Qt headers in
my project, though. As soon as I get my debugging issues resolved, I'll try
to replicate that functionality with plain Qt.
Thanks,
Tro
--
[ signature omitted ]