[python-win32] win32api: How to send WM_SIZING to a Window

2010-09-30 Thread Andreas Holtz
Hello, I have a program which I can control via COM and Python's win32com. This program will visualize a big tree, which gets created by my COM-commands. The problem is, that after each modification of the tree (like insert), the program refreshes its display area. Accidentally I discovered

Re: [python-win32] win32api: How to send WM_SIZING to a Window

2010-09-30 Thread Tim Roberts
Andreas Holtz wrote: The program is CATIA from Dassault. They have a parameter to control the refresh of the display (CATIAApplication.RefreshDisplay = False) but this only works within their macro engine. For details see here: http://ww3.cad.de/foren/ubb/Forum137/HTML/001099.shtml#02

Re: [python-win32] win32api: How to send WM_SIZING to a Window

2010-09-30 Thread Andreas Holtz
The program is CATIA from Dassault. They have a parameter to control the refresh of the display (CATIAApplication.RefreshDisplay = False) but this only works within their macro engine. For details see here: http://ww3.cad.de/foren/ubb/Forum137/HTML/001099.shtml#02 schrieb Tim Roberts am

Re: [python-win32] win32api: How to send WM_SIZING to a Window

2010-09-30 Thread Andreas Holtz
Of course I tried it and it is not working. I am trying for two days now. The Interactive-switch is just preventing user inputs (this works fine). The COM implementation is suboptimal. There are a lot of features you can not access via COM. Don't ask me why. Due to this suboptimal behaviour, I

Re: [python-win32] win32api: How to send WM_SIZING to a Window

2010-09-30 Thread Tim Roberts
Andreas Holtz wrote: The COM implementation is suboptimal. There are a lot of features you can not access via COM. Don't ask me why. Due to this suboptimal behaviour, I need this stupid hack. The question is now, what is a correct WM_SIZING-message? With a string for the rect, a