O.P. Manipulating window position given hwnd
Hi,
My plugin hides a conversation window (IMessengerConversationWnd object) by changing its 'Left' property to -20000, before opening my own custom window using ShowWindow API (such that it is non-modular). I do this because I need the conversation window to be active (minimized is not good enough) yet not visible.
Problem is, I want to restore the conversation window position when the user closes my custom window, presumably during Form_QueryUnload event. Now I have the hwnd to the conversation window, but how do I change its Left property?
I am using VB6 by the way.
Please offer suggestions. Thanks in advance!
This post was edited on 10-19-2005 at 10:22 AM by eSouL.
|