Hi,
I could not understand you clearly frame your question in a more detailed manner as for know i recomend using the CreateToolhelp32Snapshot along with Process32First And Process32Next API's to get a list of all the programs running and then get what you want with a host of window APi's like enumthreadwindows .
i may not be right but if you be clear maybe i can help you.

Reply to
<[email protected]>