Ignore:
Timestamp:
Dec 18, 1999, 9:57:01 PM (26 years ago)
Author:
achimha
Message:

WINE 991212 updates - treeview missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/rebar.c

    r1762 r2126  
    1 /* $Id: rebar.c,v 1.10 1999-11-17 17:06:23 cbratschi Exp $ */
     1/* $Id: rebar.c,v 1.11 1999-12-18 20:57:00 achimha Exp $ */
    22/*
    33 * Rebar control
     
    2121 *   - All notifications.
    2222 */
     23
     24/* WINE 991212 */
    2325
    2426#include <string.h>
     
    911913}
    912914
     915static LRESULT
     916REBAR_GetVersion (HWND hwnd)
     917{
     918    REBAR_INFO *infoPtr = REBAR_GetInfoPtr (hwnd);
     919    return infoPtr->iVersion;
     920}
    913921
    914922static LRESULT
     
    15231531}
    15241532
     1533static LRESULT
     1534REBAR_SetVersion (HWND hwnd, INT iVersion)
     1535{
     1536    REBAR_INFO *infoPtr = REBAR_GetInfoPtr (hwnd);
     1537    INT iOldVersion = infoPtr->iVersion;
     1538
     1539    if (iVersion > COMCTL32_VERSION)
     1540        return -1;
     1541
     1542    infoPtr->iVersion = iVersion;
     1543
     1544    return iOldVersion;
     1545}
    15251546
    15261547static LRESULT
     
    15941615
    15951616    /* initialize info structure */
     1617    infoPtr->iVersion = 0;
    15961618    infoPtr->clrBk = CLR_NONE;
    15971619    infoPtr->clrText = RGB(0, 0, 0);
     
    19221944            return REBAR_GetUnicodeFormat (hwnd);
    19231945
     1946        case CCM_GETVERSION:
     1947            return REBAR_GetVersion (hwnd);
     1948
    19241949        case RB_HITTEST:
    19251950            return REBAR_HitTest (hwnd, wParam, lParam);
     
    19691994        case RB_SETUNICODEFORMAT:
    19701995            return REBAR_SetUnicodeFormat (hwnd, wParam);
     1996
     1997        case CCM_SETVERSION:
     1998            return REBAR_SetVersion (hwnd, (INT)wParam);
    19711999
    19722000        case RB_SHOWBAND:
Note: See TracChangeset for help on using the changeset viewer.