Closing a window when you only have the Title
Typically I would not post this question, but I don't have my API Bible today...
All I have is the Title of window (its a dialog from a Crystal Report).
When my app shutsdown I need to check if this window is displayed and if
it is close it. Problem is I don't have the ClassName of the Window, I only
have the Title.
So what I need is the API that will take the Title, and return the ClassName
so I can get the hWnd to close the window.
Any help would be greatly appreciated.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL