Good Evening. I'm building a C# application, as follows : a main frame that allows the user to popup sub-forms, each one containing a WebBrowser component that loads a flash animation.
The problem is the following: whenever i simulate a click on the subforms, they popup in the foreground and hide the main Form , while I need them to stay exactly where they are. How can I accomplish that? I've tried using the following code :
without success.Code:private const int WM_MOUSEACTIVATE = 0x0021; private const int MA_NOACTIVATE = 3; protected override void WndProc(ref Message m) { if (m.Msg == WM_MOUSEACTIVATE) { m.Result = (IntPtr)MA_NOACTIVATE; return; } base.WndProc(ref m); }
Thanks for your help


Reply With Quote

Bookmarks