Hi.
I have an activeX plug-in which is a user control written in .NET. I used WndProc function to view the messages sent to my application. My application will be hidden when it received the following messages:
msg=0x46 (WM_WINDOWPOSCH ANGING) hwnd=0x51362 wparam=0x0 lparam=0x12eec4
msg=0x47 (WM_WINDOWPOSCH ANGED) hwnd=0x51362 wparam=0x0 lparam=0x12eec4
In these 2 cases, the following WINDOWPOS flags are set:
SWP_NOSIZE, SWP_NOMOVE, SWP_NOZORDER, SWP_NOACTIVATE, SWP_HIDEWINDOW
After receiving the above window messages, my application visibility changed to false.
How can I prevent my application from being hidden? Is there a way to filter and ignore these window messages so that my application will not be hidden at all? Or is there a way to send window messages to set my application back to visible after it get hidden?
Any help and comment is highly appreciated.
Thanks.
I have an activeX plug-in which is a user control written in .NET. I used WndProc function to view the messages sent to my application. My application will be hidden when it received the following messages:
msg=0x46 (WM_WINDOWPOSCH ANGING) hwnd=0x51362 wparam=0x0 lparam=0x12eec4
msg=0x47 (WM_WINDOWPOSCH ANGED) hwnd=0x51362 wparam=0x0 lparam=0x12eec4
In these 2 cases, the following WINDOWPOS flags are set:
SWP_NOSIZE, SWP_NOMOVE, SWP_NOZORDER, SWP_NOACTIVATE, SWP_HIDEWINDOW
After receiving the above window messages, my application visibility changed to false.
How can I prevent my application from being hidden? Is there a way to filter and ignore these window messages so that my application will not be hidden at all? Or is there a way to send window messages to set my application back to visible after it get hidden?
Any help and comment is highly appreciated.
Thanks.