API function to replace form's activate event
Recently I use Crystal Report for my reporting tool. As it has its own
preview window, I can not respond to its form_activate event. However, I
still can obtain the window's handle. Capturing the form_activate event is
an absolute need since I want to adjust the toolbars in the MDI Form accordingly
if the preview window activates. I put the preview window as MDI child window.
Can the API SendMessage function with WM_MDIACTIVATE or WM_GETACTIVE message
achieve this ?
Could someone give me some sample codes to achieve this ?
Any help would be greatly appreciated.
Thanks in advance
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