code:var WINDOWPLACEMENT = Interop.Allocate(44); WINDOWPLACEMENT.WriteDWORD(0, WINDOWPLACEMENT.Size); var Result = Interop.Call("User32", "GetWindowPlacement", Messenger.ContactListWndHandle, WINDOWPLACEMENT.DataPtr); if(Result) Debug.Trace(WINDOWPLACEMENT.ReadDWORD(8));