Re: What Programs are running?
- Posted by Bernie Ryan <xotron at bluefrog.com> Apr 03, 2005
- 423 views
don cole wrote: > > > How can I get a list of the programs that are currently running? > Like when I press ctl+alt+del? > In a euphoria sequence of course. > > Don Cole > SF > Don: You can use this: BOOL EnumWindows( WNDENUMPROC lpEnumFunc, // pointer to callback function LPARAM lParam // application-defined value ); The EnumWindows function does not enumerate child windows. You use this for child windows: BOOL EnumChildWindows( HWND hWndParent, // handle to parent window WNDENUMPROC lpEnumFunc, // pointer to callback function LPARAM lParam // application-defined value ); You will have to write a callback to process the list. Bernie My files in archive: w32engin.ew mixedlib.e eu_engin.e win32eru.ew Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan