Ignore:
Timestamp:
Feb 4, 2002, 6:32:38 PM (24 years ago)
Author:
umoeller
Message:

Buncha fixes, and fixes for fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/winh.c

    r135 r137  
    39493949 *      in WM_INITDLG of the notebook dlg function if the app
    39503950 *      has determined that it is running on Warp 4.
     3951 *
     3952 *@@changed V0.9.16 (2002-02-02) [umoeller]: fixed entry fields
    39513953 */
    39523954
     
    39933995                if (ulDownUnits)
    39943996                {
     3997                    CHAR szClass[10];
    39953998                    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
    39974010                    WinQueryWindowPos(hwndItem, &swp);
    39984011                    WinSetWindowPos(hwndItem, 0,
    3999                                     swp.x,
    4000                                     swp.y - ptl.y,
     4012                                    swp.x + lDeltaX,
     4013                                    swp.y - ptl.y + lDeltaY,
    40014014                                    0, 0,
    40024015                                    SWP_MOVE);
Note: See TracChangeset for help on using the changeset viewer.