|
-
Nov 12th, 2001, 03:10 PM
#1
Thread Starter
Lively Member
enumerating windows (hard)
Is there a way to get all the windows that are useful/visible to the user i.e. ones that are on the taskbar?
I am able to go through all the windoes using EnumWindowsProc
then I am using the following API calls to indicate (so I can then remove) windows not normally visible to the user...
GetWindowRect (to check if the window has size)
IsWindow (to check if is a window)
this still leaves some windows that I would like to have removed e.g.
Window # 85 : Tsp3216LWindow
Width = 112
Height = 27
How do I identify those windows
thanks for any help
Everytime
"I'm not normally a religious man, but if you're up there, save me, Superman!" Homer Simpson
Visit my site
-
Nov 12th, 2001, 03:33 PM
#2
Use the IsWindowVisible function to determine if it's visible or not.
-
Nov 12th, 2001, 04:12 PM
#3
Thread Starter
Lively Member
quality. Thanks megatron works well - dunno how I missed it
It still brings back Program Manager as a window though
(I'm on win98). is this the same in all window OS - can I safely ignore it as being a window the user should be intereted in?
Everytime
"I'm not normally a religious man, but if you're up there, save me, Superman!" Homer Simpson
Visit my site
-
Nov 13th, 2001, 05:05 AM
#4
Thread Starter
Lively Member
Good tip - I'll do that. Thanks a lot
Everytime
"I'm not normally a religious man, but if you're up there, save me, Superman!" Homer Simpson
Visit my site
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|