Ignore:
Timestamp:
Dec 5, 2002, 9:36:28 PM (23 years ago)
Author:
umoeller
Message:

New toolbar control.

File:
1 edited

Legend:

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

    r222 r232  
    14961496                          LONG lIndex)
    14971497{
    1498     HWND hwndOwner;
    1499 
    1500     if (hwndOwner = WinQueryWindow(hwndChart, QW_OWNER))
    1501     {
    1502         EMPHASISNOTIFY en;
    1503         en.hwndSource = hwndChart;
    1504         en.lIndex = lIndex;        // can be -1
    1505         en.ulEmphasis = ulEmphasis;
    1506         en.ptl.x = SHORT1FROMMP(mp1Mouse);
    1507         en.ptl.y = SHORT2FROMMP(mp1Mouse);
    1508 
    1509         WinSendMsg(hwndOwner,
    1510                    WM_CONTROL,
    1511                    MPFROM2SHORT(WinQueryWindowUShort(hwndChart,
    1512                                                      QWS_ID),
    1513                                 usNotify),
    1514                    &en);
    1515     }
     1498    EMPHASISNOTIFY en;
     1499    en.hwndSource = hwndChart;
     1500    en.lIndex = lIndex;        // can be -1
     1501    en.ulEmphasis = ulEmphasis;
     1502    en.ptl.x = SHORT1FROMMP(mp1Mouse);
     1503    en.ptl.y = SHORT2FROMMP(mp1Mouse);
     1504
     1505    ctlSendWmControl(hwndChart,
     1506                     usNotify,
     1507                     &en);
    15161508}
    15171509
Note: See TracChangeset for help on using the changeset viewer.