Re: [python-win32] How to send emails using Python via the default email client (eg Outlook Express)

2004-12-28 Thread Luc Saffre
Ian, thanks for posting simplemapi.py. I can report that it works. I use Thunderbird as mail client. Thunderbird notifies me as follows about the MAPI request: Another application is attempting to send mail using your user profile. Are you sure you wxant to send mail? [x] Warn me whenever

[python-win32] Selecting a font when printing with CDC.TextOut()

2004-12-28 Thread Luc Saffre
Hello, how can I select a font to use when printing to a PrinterDC using TextOut()? I couldn't find any answer from the documentation. Here is a simplified context: import win32ui import win32con dc = win32ui.CreateDC() dc.CreatePrinterDC(printerName) dc.StartDoc("hello") dc.SetMapMod

Re: [python-win32] Selecting a font when printing with CDC.TextOut()

2004-12-28 Thread Jens B. Jorgensen
As is true of win32* module use in general there is no substute for the msdn library documentation. Check out this documentation page to see an example of TextOut usage: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cdc.3a3a.beginpath.asp Luc Saffre wrote: Hell