Hopefully by now someone has replied with a much more concise reply than my
own. I would suggest you look at www.planet-source-code.com for examples on
this. There should be quite a few there in fact.
? Chuck
> -----Original Message-----
> From: Padgett Rowell [mailto:padgett@i...]
> Sent: Tuesday, May 29, 2001 10:09 AM
> To: professional vb
> Subject: [pro_vb] Win32 Applications API - Application List
>
>
> Hello,
>
> Can anyone tell me how to fill a listview with currently running
> applications, their associated icons and the hwnd to their window? What I
> am looking for is very similar to the "Applications" tab in the
> windows task
> manager. I have seen examples on how to do this in C, but not in VB.
>
> Currently I am using the EnumWindowsProc callback API to emum though the
> current windows, but how do I tell if the window belongs to an
> application?
>
> Any help would be greatly appreciated.
>
> Cheers,
>
> Padgett