I want to get a HANLDE of ANY windows regardless of focused window.
for example , TOOLBOOK.
I found FindWindow function needs specific class name.
but Not I need.
thanx in advance for your kind help.
But I had found FindWindow() funtions
needs specific Class.
How can I know without knowing Class?
or is there other tool to find Class?
thanx in advance.
email-address : pa...@141.223.91.1
You can use GetWindow() to traverse the window list
(e.g. GetWindow(...,GW_HWNDFIRST) to get the first
window, then GetWindow(...,GW_HWNDNEXT) until it
returns NULL), or EnumWindows(), which traverses
the list for you, and calls a callback function
you define for each window. Check out the SDK
docs on these functions: they're pretty straight-
forward. Incidently, if you _want_ to use
FindWindow(), you can find out the class name
for any window by using SPY.
--
Brett Smillie
smil...@world.std.com
"forsan et haec olim meminisse iuabit" -- Vergil, _Aeneid_