troubleshooting Question

EnumWindows - I only want Windows that are visible in the taskbar.

Avatar of obvious99
obvious99 asked on
System Programming
9 Comments1 Solution1538 ViewsLast Modified:
I am trying to write a program that will show all the Windows listed in the taskbar, so I can get their posistion on the screen and move them.  I have written some code to enumerate all the Windows using EnumWindows and a Callback EnumWinProc and I have all the Window titles loading into a combobox.  The problem that I am running into is that when I run the EnumWindows, I get a large list of Windows, most of which aren't visible and some don't even contain a title.  Is there a way to just get a list of the Windows that are shown in the task bar and possibly a way to view the window state (minimized, maximies, ect..).  I have dabbled in programming off and on for a while, but am still a beginner.  I really want to understand what is going on and examples would be greatly appreciated.

Thanks,
Brian
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros