Changeset 137 for trunk/src/helpers/winh.c
- Timestamp:
- Feb 4, 2002, 6:32:38 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/winh.c
r135 r137 3949 3949 * in WM_INITDLG of the notebook dlg function if the app 3950 3950 * has determined that it is running on Warp 4. 3951 * 3952 *@@changed V0.9.16 (2002-02-02) [umoeller]: fixed entry fields 3951 3953 */ 3952 3954 … … 3993 3995 if (ulDownUnits) 3994 3996 { 3997 CHAR szClass[10]; 3995 3998 SWP swp; 3996 // _Pmpf(("Moving downwards %d pixels", ptl.y)); 3999 LONG lDeltaX = 0, 4000 lDeltaY = 0; 4001 // special handling for entry fields 4002 // V0.9.16 (2002-02-02) [umoeller] 4003 WinQueryClassName(hwndItem, sizeof(szClass), szClass); 4004 if (!strcmp(szClass, "#6")) 4005 { 4006 lDeltaX = 3 * WinQuerySysValue(HWND_DESKTOP, SV_CXBORDER); 4007 lDeltaY = 3 * WinQuerySysValue(HWND_DESKTOP, SV_CYBORDER); 4008 } 4009 3997 4010 WinQueryWindowPos(hwndItem, &swp); 3998 4011 WinSetWindowPos(hwndItem, 0, 3999 swp.x ,4000 swp.y - ptl.y ,4012 swp.x + lDeltaX, 4013 swp.y - ptl.y + lDeltaY, 4001 4014 0, 0, 4002 4015 SWP_MOVE);
Note:
See TracChangeset
for help on using the changeset viewer.