after some further investigation it appears that the majority of bitmap functions occur in the Windows gdi32.dll library. Using Mark Hammond's notation the corresponding extension should be win32gdi.pyd -- which doesn't exist.
I'm trying to do an programmatic screen capture to a file (so I can stitch them together to make a movie of a dynamic process). The other two routes I've tried -- Fred Lundh's grabscreen and Sam Rushing's anydll, don't appear to work (can't find dll message) with Python 2.2.
Any other suggestions welcome.
At 12:32 PM 9/20/2002 -0700, Trent Mick wrote:
[Bruce Peterson wrote]
> The ActiveState documentation discusses how to use the Windows api using
> modules such as win32api. However other methods, in particular
> CreateCompatibleBitmap, are shown as being a PyCDgiObject with no
> indication of what module these methods are in. They're not in win32gui --
> which would be my first guess. Has anyone worked with this or can point to
> where the module with these Win32 methods might reside?
The only attributes and methods in PyWin32-land that include "bitmap"
(that I can find) are the following:
D:\>pywin32where Bitmap
Found approximate match: 'win32clipboard.CF_BITMAP'.
Found approximate match: 'win32clipboard.CF_DSPBITMAP'.
Found approximate match: 'win32gui.IMAGE_BITMAP'.
Found approximate match: 'win32con.BS_BITMAP'.
Found approximate match: 'win32con.CF_BITMAP'.
Found approximate match: 'win32con.CF_DSPBITMAP'.
Found approximate match: 'win32con.DCTT_BITMAP'.
Found approximate match: 'win32con.DMTT_BITMAP'.
Found approximate match: 'win32con.DST_BITMAP'.
Found approximate match: 'win32con.GGO_BITMAP'.
Found approximate match: 'win32con.IMAGE_BITMAP'.
Found approximate match: 'win32con.MFT_BITMAP'.
Found approximate match: 'win32con.MF_BITMAP'.
Found approximate match: 'win32con.MF_USECHECKBITMAPS'.
Found approximate match: 'win32con.MIIM_BITMAP'.
Found approximate match: 'win32con.OBJ_BITMAP'.
Found approximate match: 'win32con.RC_BITMAP64'.
Found approximate match: 'win32con.RC_DI_BITMAP'.
Found approximate match: 'win32con.RC_SAVEBITMAP'.
Found approximate match: 'win32con.RT_BITMAP'.
Found approximate match: 'win32con.SS_BITMAP'.
Found approximate match: 'win32ui.CreateBitmap'.
Found approximate match: 'win32ui.CreateBitmapFromHandle'.
No "CreateCompatibleBitmap". There are many Win32 API methods that are
not implemented in PyWin32 (Mark Hammond is always accepting patches,
though. :)
I have attached the little 'pywin32where' script that I use to track
down methods and attributes in PyWin32.
Cheers,
Trent
--
Trent Mick
[EMAIL PROTECTED]
Terastat, Inc
Information Access Systems
Voice (425) 466 7344
Fax (206) 350 3685