Ignore:
Timestamp:
Jun 25, 2001, 9:06:00 PM (24 years ago)
Author:
umoeller
Message:

Updates to XCenter and help management.

File:
1 edited

Legend:

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

    r81 r82  
    359359    HWND        hwndOwner;          // from WM_CREATE
    360360    HAB         hab;                // from WM_CREATE
    361     ULONG       ulTooltipID;        // from WM_CREATE
     361    USHORT      usTooltipID;        // from WM_CREATE
    362362
    363363    LONG        cxScreen,
     
    455455        pttd->hwndOwner = pcs->hwndOwner;
    456456        pttd->hab = WinQueryAnchorBlock(hwndTooltip);
    457         pttd->ulTooltipID = pcs->id;
     457        pttd->usTooltipID = pcs->id;
    458458
    459459        pttd->cxScreen = WinQuerySysValue(HWND_DESKTOP, SV_CXSCREEN);
     
    922922        // compose values for that msg
    923923        TOOLTIPTEXT ttt = {0};
    924         // _Pmpf(("TTM_GETTEXT: PSZ_TEXTCALLBACK... sending TTN_NEEDTEXT"));
    925924        ttt.hwndTooltip = hwndTooltip;
    926925        ttt.hwndTool = pti->hwndTool;
    927926        WinSendMsg(pti->hwndToolOwner,
    928927                   WM_CONTROL,
    929                    MPFROM2SHORT(pttd->ulTooltipID,  // tooltip control wnd ID
     928                   MPFROM2SHORT(pttd->usTooltipID,  // tooltip control wnd ID
    930929                                TTN_NEEDTEXT),
    931930                   &ttt);
     
    12661265                WinSendMsg(pttd->hwndOwner,
    12671266                           WM_CONTROL,
    1268                            MPFROM2SHORT(pttd->ulTooltipID,  // tooltip control wnd ID
     1267                           MPFROM2SHORT(pttd->usTooltipID,  // tooltip control wnd ID
    12691268                                        TTN_SHOW),
    12701269                           pttd->ptiMouseOver);
     
    12931292            WinSendMsg(pttd->hwndOwner,
    12941293                       WM_CONTROL,
    1295                        MPFROM2SHORT(pttd->ulTooltipID,  // tooltip control wnd ID
     1294                       MPFROM2SHORT(pttd->usTooltipID,  // tooltip control wnd ID
    12961295                                    TTN_POP),
    12971296                       pttd->ptiMouseOver);
Note: See TracChangeset for help on using the changeset viewer.