Roger Upole wrote: > Pierre Rouleau wrote: >
>>I have been looking for a wrapper for the Win32 function >>GetWindowPlacement() but could not find it in the latest version of >>Python for Windows extension (version 208). I saw a reference to >>PyCWnd.GetWindowPlacement() where a MFC CWnd is needed but could not >>find a pure Win32 version. >> >>Does anyone know if this is/will be wrapped? >> > > You can use win32ui.CreateWindowFromHandle to wrap a raw > window handle in a PyCWnd, and then use its GetWindowPlacement > method. > It would be relatively simple to wrap this function in > win32gui also, mostly cut-n-paste from win32ui. > > Roger That's what I'll do, thanks! -- Pierre Rouleau _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32