I know that you can do FindWindow("", "Services") and check if that is NULL or not. NULL being it doesn't exist, but what if you open Computer Management and select services? I'll need to detect that. Also if you open mmc and then "add" a snap-in, you also miss that since the caption is not always "Services" in those cases.
Is there way I can use MMC API to enumerate what's active in mmc and then check for Services? I can't figure it out looking at the API. Any suggestions would be great.
Edited by koden, 29 October 2005 - 00:24.