How to capture the Windows XP backgournd to gray? (.NET Framework 3.0)
-
We have an application developed in C# with WPF(.NET Framework 3.0) A main window with glass border, and a child window contains WebBrowser puts on main window center. -------------------------------------------------------------- WPF main window-> Child window-> frame control -> Page -> WindowsFormsHost -> WebBroswer -------------------------------------------------------------- because we used .NET FW 3.0, so we have to puts WebBrowser in WindowsFormsHost, and it can't show if we set the window AllowTransparency to true. when user click 'start menu/shutdown', then Windows XP background fade to gray, then we saw, the main window hide, but page window still display on the screen. we have already set page window's owner to main window. it still have this issue. so, i want to know, how to capture the Windows XP background fade to gray event?
Glad to discuss with you and best wishes.