[pywin32-checkins] pywin32/Pythonwin/pywin/docking DockingBar.py,1.2,1.3
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-07-02 04:08:51
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/docking In directory sc8-pr-cvs1:/tmp/cvs-serv21231 Modified Files: DockingBar.py Log Message: Hex constants -> dec Index: DockingBar.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/docking/DockingBar.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DockingBar.py 30 Mar 2000 02:18:59 -0000 1.2 --- DockingBar.py 2 Jul 2003 04:08:49 -0000 1.3 *************** *** 260,266 **** # Convert unsigned 16 bit to signed 32 bit. x=win32api.LOWORD(lparam) ! if x & 0x8000: x = x | 0xFFFF0000 y = win32api.HIWORD(lparam) ! if y & 0x8000: y = y | 0xFFFF0000 pt = x, y cpt = CenterPoint(self.rectTracker) --- 260,266 ---- # Convert unsigned 16 bit to signed 32 bit. x=win32api.LOWORD(lparam) ! if x & 32768: x = x | -65536 y = win32api.HIWORD(lparam) ! if y & 32768: y = y | -65536 pt = x, y cpt = CenterPoint(self.rectTracker) |