Changeset 165


Ignore:
Timestamp:
May 27, 2002, 8:10:46 PM (23 years ago)
Author:
umoeller
Message:

Bunch of fixes.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/dialog.h

    r161 r165  
    130130                // adds extra spacing to this size:
    131131                // -- the group control's cx will be
    132                 //      2 * szlControlProposed.cx
     132                //      szlControlProposed.cx
    133133                //    + 2 * ulSpacing
    134134                //    + 2 * GROUP_INNER_SPACING_X
    135135                // -- the group control's cy will be
    136                 //      2 * szlControlProposed.cy
     136                //      szlControlProposed.cy
    137137                //    + 2 * ulSpacing
    138138                //    + GROUP_INNER_SPACING_Y
     
    326326            WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_NOPOINTERFOCUS, \
    327327            id, CTL_COMMON_FONT, 0, {cx, cy}, COMMON_SPACING }
     328
     329    #define LOADDEF_NOFOCUSBUTTON(id) CONTROLDEF_NOFOCUSBUTTON(LOAD_STRING, id, STD_BUTTON_WIDTH, STD_BUTTON_HEIGHT)
    328330
    329331    #define CONTROLDEF_HELPPUSHBUTTON(pcsz, id, cx, cy) { WC_BUTTON, pcsz, \
  • trunk/src/helpers/cctl_tooltip.c

    r142 r165  
    778778 *
    779779 *@@added V0.9.13 (2001-06-21) [umoeller]
     780 *@@changed V0.9.19 (2002-05-14) [umoeller]: fixed bad stop timer, thanks yuri
    780781 */
    781782
     
    789790        PLISTNODE   pToolNode;
    790791
    791         if (pttd->idTimerInitial)
    792         {
    793             // _Pmpf(("TTM_RELAYEVENT: Stopping timer: %d", pttd->idTimerInitial));
    794             WinStopTimer(pttd->hab,
    795                          hwndTooltip,
    796                          TOOLTIP_ID_TIMER_INITIAL);
    797             pttd->idTimerInitial = 0;
    798         }
     792        // moved stop timer down V0.9.19 (2002-05-14) [umoeller]
    799793
    800794        WinQueryPointerPos(HWND_DESKTOP, &ptlPointer);
     
    823817        {
    824818            // mouse pos changed:
     819            // moved stop timer here V0.9.19 (2002-05-14) [umoeller]
     820            if (pttd->idTimerInitial)
     821            {
     822                // _Pmpf(("TTM_RELAYEVENT: Stopping timer: %d", pttd->idTimerInitial));
     823                WinStopTimer(pttd->hab,
     824                             hwndTooltip,
     825                             TOOLTIP_ID_TIMER_INITIAL);
     826                pttd->idTimerInitial = 0;
     827            }
     828
    825829            // hide tooltip
    826830            WinPostMsg(hwndTooltip,
  • trunk/src/helpers/winh.c

    r162 r165  
    40924092                    CHAR szClass[10];
    40934093
     4094                    WinQueryWindowPos(hwndItem, pswpThis);
     4095
    40944096                    // special handling for entry fields
    40954097                    // V0.9.16 (2002-02-02) [umoeller]
     
    41024104
    41034105                    // check lowest y
    4104                     WinQueryWindowPos(hwndItem, pswpThis);
    41054106                    if (    (pswpThis->y < yLowest)
    41064107                         // ignore combobox, this will distort everything
Note: See TracChangeset for help on using the changeset viewer.