Changeset 189


Ignore:
Timestamp:
Jul 21, 2002, 12:44:20 PM (23 years ago)
Author:
umoeller
Message:

Coupla fixes.

Location:
trunk
Files:
4 edited

Legend:

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

    r178 r189  
    381381
    382382    #define CHTN_ENTER                  1003
     383
     384    /*
     385     *@@ CHTN_SETFOCUS:
     386     *      WM_CONTROL notification code sent (!)
     387     *      by a chart control to its owner when
     388     *      gaining focus.
     389     *
     390     *      Parameters:
     391     *
     392     *      --  USHORT SHORT1FROMMP(mp1): usid (control ID).
     393     *      --  USHORT SHORT2FROMMP(mp1): CHTN_SETFOCUS.
     394     *
     395     *      --  mp2: pointer to EMPHASISNOTIFY structure.
     396     *
     397     *@@added V0.9.20 (2002-07-17) [pr]
     398     */
     399
     400    #define CHTN_SETFOCUS               1004
     401
     402    /*
     403     *@@ CHTN_KILLFOCUS:
     404     *      WM_CONTROL notification code sent (!)
     405     *      by a chart control to its owner when
     406     *      losing focus.
     407     *
     408     *      Parameters:
     409     *
     410     *      --  USHORT SHORT1FROMMP(mp1): usid (control ID).
     411     *      --  USHORT SHORT2FROMMP(mp1): CHTN_KILLFOCUS.
     412     *
     413     *      --  mp2: pointer to EMPHASISNOTIFY structure.
     414     *
     415     *@@added V0.9.20 (2002-07-17) [pr]
     416     */
     417
     418    #define CHTN_KILLFOCUS              1005
    383419
    384420    /*
  • trunk/src/helpers/cctl_chart.c

    r184 r189  
    15761576 *@@changed V0.9.2 (2000-02-29) [umoeller]: fixed baaad PM resource leaks, the bitmap was never freed
    15771577 *@@changed V0.9.12 (2001-05-03) [umoeller]: added WM_CONTEXTMENU support
     1578 *@@changed V0.9.20 (2002-07-17) [pr]: added CHTN_SETFOCUS and CHTN_KILLFOCUS support
    15781579 */
    15791580
     
    17821783                        WinInvalidateRect(hwndChart, NULL, FALSE);
    17831784                }
     1785
     1786                // 0.9.20 (2002-07-17) [pr]
     1787                SendWMControl(hwndChart,
     1788                              (MPARAM)-1,
     1789                              (BOOL)mp2 ? CHTN_SETFOCUS : CHTN_KILLFOCUS,
     1790                              pChtCData->lSourceEmphasis,
     1791                              pChtCData->lSelected);
     1792
    17841793            break;
    17851794
  • trunk/src/helpers/gpih.c

    r179 r189  
    18921892        else
    18931893        {
     1894            // read in the ENTIRE file
    18941895            if (!(arc = DosRead(pFile->hf,
    18951896                                pData,
Note: See TracChangeset for help on using the changeset viewer.