[pywin32-checkins] pywin32/win32/Lib win32con.py,1.13,1.14
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2006-01-10 04:35:40
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7045 Modified Files: win32con.py Log Message: [ 1043732 ] New win32con constants and a bug fix Index: win32con.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32con.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** win32con.py 7 Oct 2005 10:44:07 -0000 1.13 --- win32con.py 10 Jan 2006 04:35:26 -0000 1.14 *************** *** 27,30 **** --- 27,33 ---- OFN_ENABLEINCLUDENOTIFY = 4194304 # send include message to callback OFN_ENABLESIZING = 8388608 + OFN_DONTADDTORECENT = 33554432 + OFN_FORCESHOWHIDDEN = 268435456 # Show All files including System and hidden files + OFN_EX_NOPLACESBAR = 1 OFN_SHAREFALLTHROUGH = 2 OFN_SHARENOWARN = 1 *************** *** 3388,3396 **** PC_EXPLICIT = 2 PC_NOCOLLAPSE = 4 ! def GetRValue(rgb): return ((rgb)) ! def GetGValue(rgb): return ((((rgb)) >> 8)) ! def GetBValue(rgb): return (((rgb)>>16)) TRANSPARENT = 1 --- 3391,3399 ---- PC_EXPLICIT = 2 PC_NOCOLLAPSE = 4 ! def GetRValue(rgb): return rgb & 0xff ! def GetGValue(rgb): return (rgb >> 8) & 0xff ! def GetBValue(rgb): return (rgb >> 16) & 0xff TRANSPARENT = 1 *************** *** 4820,4821 **** --- 4823,4835 ---- ULW_OPAQUE = 0x00000004 + # WinDef.h + TRUE = 1 + FALSE = 0 + MAX_PATH = 260 + # WinGDI.h + AC_SRC_OVER = 0 + AC_SRC_ALPHA = 1 + GRADIENT_FILL_RECT_H = 0 + GRADIENT_FILL_RECT_V = 1 + GRADIENT_FILL_TRIANGLE = 2 + GRADIENT_FILL_OP_FLAG = 255 |