Re: Determining if a process is visible on the Taskbar...
Mike Andrews <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <[email protected]> |
Hi Mark. Thanks for the quick reply, but that's not exactly what I need. It gets me part of the way there, but not all the way. EnumWindows returns all top-level windows, including a vast array of windows that are hidden and were never meant to be visible. I really only want those that are visible and visible on the taskbar. Thanks, Mike On Mon, Nov 24, 2008 at 8:26 AM, Mark Brackett <[email protected]> wrote: > Off the top of my head, I'd try EnumWindows[1][2]. > > [1] http://msdn.microsoft.com/en-us/library/ms633497.aspx > [2] http://www.pinvoke.net/default.aspx/user32/EnumWindows.html > > --MB > > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[email protected]] On Behalf Of Mike Andrews > Sent: Monday, November 24, 2008 9:22 AM > To: [email protected] > Subject: [ADVANCED-DOTNET] Determining if a process is visible on the > Taskbar... > > I can't seem to find much information on how to determine if a process > is > visible on the taskbar. > Presently, I need to find all "windows" that are human-visible for a > process > that I'm building. > Obviously, looping through the list of processes willy-nilly will not > assist > greatly. > > Any suggestions? > > Thanks, > Mike > > =================================== > View archives and manage your subscription(s) at > http://peach.ease.lsoft.com/archives > > =================================== > View archives and manage your subscription(s) at > http://peach.ease.lsoft.com/archives > =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives