Changeset 1533 for trunk/dll/mainwnd.c
- Timestamp:
- May 30, 2010, 7:34:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r1506 r1533 1967 1967 *szDrv = 0; 1968 1968 x = id - IDM_DRIVEA; 1969 *szDrv = x + 'A';1969 *szDrv = (CHAR) x + 'A'; 1970 1970 strcpy(szDrv + 1, ":"); 1971 1971 if (x > 1) { … … 3665 3665 WinSetWindowUShort(hwndChild, 3666 3666 QWS_XRESTORE, 3667 (USHORT) (ulWidth * ulCurCol) + Rectl.xLeft); 3667 (USHORT) ((USHORT) ulWidth * (USHORT) ulCurCol) 3668 + (USHORT) Rectl.xLeft); 3668 3669 WinSetWindowUShort(hwndChild, 3669 3670 QWS_YRESTORE, … … 3754 3755 WinSetWindowPos(hwndChild, HWND_TOP, 0, 0, 0, 0, 3755 3756 SWP_SIZE | SWP_MOVE | SWP_FOCUSDEACTIVATE); 3756 WinSetWindowUShort(hwndChild, QWS_XRESTORE, ux);3757 WinSetWindowUShort(hwndChild, QWS_YRESTORE, uy);3758 WinSetWindowUShort(hwndChild, QWS_CXRESTORE, ucx);3759 WinSetWindowUShort(hwndChild, QWS_CYRESTORE, ucy);3757 WinSetWindowUShort(hwndChild, QWS_XRESTORE, (USHORT) ux); 3758 WinSetWindowUShort(hwndChild, QWS_YRESTORE, (USHORT) uy); 3759 WinSetWindowUShort(hwndChild, QWS_CXRESTORE, (USHORT) ucx); 3760 WinSetWindowUShort(hwndChild, QWS_CYRESTORE, (USHORT) ucy); 3760 3761 } 3761 3762 else { … … 3763 3764 WinSetWindowPos(hwndChild, HWND_TOP, swp.x, swp.y, swp.cx, swp.cy, 3764 3765 SWP_MOVE | SWP_SIZE | SWP_SHOW); 3765 WinSetWindowUShort(hwndChild, QWS_XRESTORE, ux);3766 WinSetWindowUShort(hwndChild, QWS_YRESTORE, uy);3767 WinSetWindowUShort(hwndChild, QWS_CXRESTORE, ucx);3768 WinSetWindowUShort(hwndChild, QWS_CYRESTORE, ucy);3766 WinSetWindowUShort(hwndChild, QWS_XRESTORE, (USHORT) ux); 3767 WinSetWindowUShort(hwndChild, QWS_YRESTORE, (USHORT) uy); 3768 WinSetWindowUShort(hwndChild, QWS_CXRESTORE, (USHORT) ucx); 3769 WinSetWindowUShort(hwndChild, QWS_CYRESTORE, (USHORT) ucy); 3769 3770 } 3770 3771 }
Note:
See TracChangeset
for help on using the changeset viewer.