Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14266
Modified Files:
win32gui.i
Log Message:
* Autoduck corrections for FlashWindowEx
* Add BitBlt, StretchBlt and MaskBlt
Index: win32gui.i
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32gui.i,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** win32gui.i 5 Mar 2005 04:59:52 -0000 1.58
--- win32gui.i 12 Apr 2005 02:47:32 -0000 1.59
***************
*** 1246,1249 ****
--- 1246,1250 ----
// @pyparm int|bInvert||
BOOL FlashWindow(HWND hwnd, BOOL bInvert);
+ // @pyswig int|FlashWindowEx|The FlashWindowEx function flashes the specified window a specified number of times.
%{
***************
*** 1983,1986 ****
--- 1984,2040 ----
BOOLAPI DeleteObject(HANDLE h); // @pyparm int|handle||handle to the object to delete.
+ // @pyswig |BitBlt||Performs a bit-block transfer of the color data corresponding
+ // to a rectangle of pixels from the specified source device context into a
+ // destination device context.
+ BOOLAPI BitBlt(
+ HDC hdcDest, // @pyparm int|hdcDest||handle to destination DC
+ int nXDest, // @pyparm int|x||x-coord of destination upper-left corner
+ int nYDest, // @pyparm int|t||y-coord of destination upper-left corner
+ int nWidth, // @pyparm int|width||width of destination rectangle
+ int nHeight, // @pyparm int|height||height of destination rectangle
+ HDC hdcSrc, // @pyparm int|hdcSrc||handle to source DC
+ int nXSrc, // @pyparm int|nXSrc||x-coordinate of source upper-left corner
+ int nYSrc, // @pyparm int|nYSrc||y-coordinate of source upper-left corner
+ DWORD dwRop // @pyparm int|dwRop||raster operation code
+ );
+
+ // @pyswig |StretchBlt||Copies a bitmap from a source rectangle into a destination
+ // rectangle, stretching or compressing the bitmap to fit the dimensions of the
+ // destination rectangle, if necessary
+ BOOLAPI StretchBlt(
+ HDC hdcDest, // handle to destination DC
+ int nXOriginDest, // x-coord of destination upper-left corner
+ int nYOriginDest, // y-coord of destination upper-left corner
+ int nWidthDest, // width of destination rectangle
+ int nHeightDest, // height of destination rectangle
+ HDC hdcSrc, // handle to source DC
+ int nXOriginSrc, // x-coord of source upper-left corner
+ int nYOriginSrc, // y-coord of source upper-left corner
+ int nWidthSrc, // width of source rectangle
+ int nHeightSrc, // height of source rectangle
+ DWORD dwRop // raster operation code
+ );
+
+ %ifdef WINXPGUI
+ // @pyswig |MaskBlt|Combines the color data for the source and destination
+ // bitmaps using the specified mask and raster operation.
+ // @comm This function is available only in winxpgui, as it is not supported
+ // on Win9x.
+ BOOLAPI MaskBlt(
+ HDC hdcDest, // handle to destination DC
+ int nXDest, // x-coord of destination upper-left corner
+ int nYDest, // y-coord of destination upper-left corner
+ int nWidth, // width of source and destination
+ int nHeight, // height of source and destination
+ HDC hdcSrc, // handle to source DC
+ int nXSrc, // x-coord of upper-left corner of source
+ int nYSrc, // y-coord of upper-left corner of source
+ HBITMAP hbmMask, // handle to monochrome bit mask
+ int xMask, // horizontal offset into mask bitmap
+ int yMask, // vertical offset into mask bitmap
+ DWORD dwRop // raster operation code
+ );
+ %endif
+
// @pyswig int|ImageList_Add|Adds an image or images to an image list.
// @rdesc Returns the index of the first new image if successful, or -1 otherwise.
|