How to get a handle to a window (not my application)
-
I have got an application, which changes the resolution of the computer(may sound like spyware etc... but it's just used internally). The problem is that the Taskbar keeps flowing around in the middle of the screen. Is there any way to get a handle to the taskbar. With Spy++ I found out that the WndClass is "Shell_TrayWnd". Does this help ? As I said.. it's no adware / spyware or something I like that.. I hate those programs like we all do.
All the label says is that this stuff contains chemicals "... known to the State of California to cause cancer in rats and low-income test subjects."
Roger Wright
http://www.codeproject.com/lounge.asp?select=965687&exp=5&fr=1#xx965687xx -
I have got an application, which changes the resolution of the computer(may sound like spyware etc... but it's just used internally). The problem is that the Taskbar keeps flowing around in the middle of the screen. Is there any way to get a handle to the taskbar. With Spy++ I found out that the WndClass is "Shell_TrayWnd". Does this help ? As I said.. it's no adware / spyware or something I like that.. I hate those programs like we all do.
All the label says is that this stuff contains chemicals "... known to the State of California to cause cancer in rats and low-income test subjects."
Roger Wright
http://www.codeproject.com/lounge.asp?select=965687&exp=5&fr=1#xx965687xxUse
FindWindow()
orFindWindowEx()
.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
I have got an application, which changes the resolution of the computer(may sound like spyware etc... but it's just used internally). The problem is that the Taskbar keeps flowing around in the middle of the screen. Is there any way to get a handle to the taskbar. With Spy++ I found out that the WndClass is "Shell_TrayWnd". Does this help ? As I said.. it's no adware / spyware or something I like that.. I hate those programs like we all do.
All the label says is that this stuff contains chemicals "... known to the State of California to cause cancer in rats and low-income test subjects."
Roger Wright
http://www.codeproject.com/lounge.asp?select=965687&exp=5&fr=1#xx965687xxHWND hTB = ::FindWindow("Shell_TrayWnd", NULL); SkyWalker