Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-25 Thread Tony Cappellini
Date: Wed, 24 Mar 2010 08:41:16 +0100 From: Sylvain Fauveau (apli-agipa) i...@apli-agipa.com Cc: Python-Win32 List python-win32@python.org Subject: Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app? Message-ID:

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-24 Thread Sylvain Fauveau (apli-agipa)
Not tested, but : Google: splash screen tkinter = http://code.activestate.com/recipes/534124-elegant-tkinter-splash-screen/ tkinter is included with python. Vernon Cole a écrit : Malcolm: I used to have exactly what you need. Unfortunately, when I checked just now, I find that I failed to

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-23 Thread Mike Driscoll
Hi Malcolm On 1:59 PM, pyt...@bdurham.com wrote: Is there a Windows API call I can use to display a BMP or a PNG file in a window centered on a user's display? This function would be called from a console app to display a splash screen. Motivation: I would like some of our customer facing

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-23 Thread Vernon Cole
Malcolm: I used to have exactly what you need. Unfortunately, when I checked just now, I find that I failed to lift a copy of the source code when I left the place where I wrote it. It was a command line utility which accepted as arguments the name of a .jpg file and the number of seconds to

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-23 Thread Greg Ewing
Andrew MacIntyre wrote: Is it possible to draw directly to the desktop? I vaguely recall reading somewhere that that is how some splash screens are done to avoid the overhead of a window... Somehow I doubt that. I have a hard time imagining that displaying a splash screen could be a serious

[python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-22 Thread python
Is there a Windows API call I can use to display a BMP or a PNG file in a window centered on a user's display? This function would be called from a console app to display a splash screen. Motivation: I would like some of our customer facing Python console utilities to display a splash screen. I

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-22 Thread Tony Cappellini
From: pyt...@bdurham.com To: zz Python Win32 Newsgroup python-win32@python.org Subject: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app? Message-ID: 1269295703.32357.1366163...@webmail.messagingengine.com Content-Type: text/plain; charset=us-ascii

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-22 Thread python
Hi Tony, Thanks for the wxPython code. My reason for wanting to avoid wxPython (and pyQt) is that I don't want to ship the wxPython framework just to display a splash screen. I believe this might triple the size of my PY2EXE generated executables - not a worthwhile tradeoff for a cosmetic feature

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-22 Thread Tim Roberts
pyt...@bdurham.com wrote: Thanks for the wxPython code. My reason for wanting to avoid wxPython (and pyQt) is that I don't want to ship the wxPython framework just to display a splash screen. I believe this might triple the size of my PY2EXE generated executables - not a worthwhile tradeoff

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app? [SEC=PERSONAL]

2010-03-22 Thread Andrew MacIntyre
Is it possible to draw directly to the desktop? I vaguely recall reading somewhere that that is how some splash screens are done to avoid the overhead of a window... - These thoughts are mine alone! - Andrew MacIntyre   Operations Branch tel:   +61 2

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-22 Thread Tim Roberts
Andrew MacIntyre wrote: Is it possible to draw directly to the desktop? I vaguely recall reading somewhere that that is how some splash screens are done to avoid the overhead of a window... Yes, it's possible, but that's not the right way to do a splash screen, because there's no good