[python-win32] Python DDE and multiple DDE servers?

2010-09-30 Thread RJS
I need to run both a Python DDE server and Python DDE client on the same machine (separate programs). Is there a reason why when I Create() the client: server.Create("PyVibeSurvey") I get: dde.error: The server could not be created for the client program? When the same client connects to the leg

Re: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread Tony Cappellini
> I just tried this library on my Windows 7 system and was surprised to > see an old-fashioned (Windows 95 like) progressbar. Do you have any > ideas on how I might activate Theme support with this library so the > progressbar gets displayed using a Windows 7 style look? I don't think this problem

Re: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread Tim Roberts
pyt...@bdurham.com wrote: > > I'm already using the Python Win32 extensions, so the progressbar.py > example might be a good fit for me. > > I tested it from the command line on Windows 7 and was surprised that > the progressbar control looked like it was from Windows 95. > > Any suggestions on ho

Re: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread python
Tony, >Try Easy Dialogs > http://www.averdevelopment.com/python/EasyDialogs.html > > It has a progress bar. Easy Dialogs just wraps the native OS calls, and makes > them sensible & cross platform. > > Using a progress bar is only a few lines of code. Thanks for this recommendation. This looks

Re: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread python
Tim, > If you look in site-packages\pythonwin\pywin\Demos, you'll find > "progressbar.py". This is a Python wrapper around the MFC CProgressCtrl > class. You might be able to adapt that to do what you need, although I'm not > sure MFC is any lighter weight than Tkinter. I'm already using the P

[python-win32] Python DDE and multiple DDE servers?

2010-09-30 Thread RJ
I need to run both a Python DDE server and Python DDE client on the same machine (separate programs). Is there a reason why when I Create() the client: server.Create("PyVibeSurvey") I get: dde.error: The server could not be created for the client program? When the same client connects to the leg

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 REC

[python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread Tony Cappellini
Message: 1 Date: Thu, 30 Sep 2010 12:09:16 -0400 From: pyt...@bdurham.com To: "zz Python Win32 Newsgroup" Subject: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API? Message-ID: <1285862956.22785.1397713...@webmail.messagingengine.com> Content-Type: text/p

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 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 30.09

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#0

Re: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread Tim Roberts
pyt...@bdurham.com wrote: > I know there is a simple interface to the Windows messagebox interface. > > Is there an equivalent type of simple dialog box for showing a > progressbar or progressbar-like information? > > Use case: I have a collection of Python command line utilties that can > tak

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

2010-09-30 Thread Tim Roberts
Andreas Holtz wrote: > 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. > > Acc

[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 whe

[python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread python
I know there is a simple interface to the Windows messagebox interface. Is there an equivalent type of simple dialog box for showing a progressbar or progressbar-like information? Use case: I have a collection of Python command line utilties that can take up to several minutes to run. These are u