FindWindow equivalent
Hi,
I need an equivalent to the FindWindow method of windows. I want to manipulate a window that is external to my program. I'm doing this in c++ on Mandrake. Or the same as enumwindows and I can find the info by checkin each window. Cheers steve |
First thought was that this is impossible as the window's non-shared memory of a different process and the kernel should forbid your tampering, but then the only ray of light is from AmusingMisuseOfResources which can generate a worm which moves along the top of a window. Might just be polling the X server and not able to affect another app's window still.
Why do you need to do this anyway? Let us understand the problem better. |
I've got an app that I run constantly, I just want to hide its window so its not cluttering up the screen and taskbar.
So not really manipulate a window as such, just send it a message to hide. I've done this in windows, and its very easy. using findwindow/showwindow methods. |
Then maybe look into how window managers send the correct signals, or if it's a KDE app look into their system of scripting and signals/slots.
|
All times are GMT -5. The time now is 03:35 AM. |