Changeset 2126 for trunk/src/comctl32/rebar.c
- Timestamp:
- Dec 18, 1999, 9:57:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/rebar.c
r1762 r2126 1 /* $Id: rebar.c,v 1.1 0 1999-11-17 17:06:23 cbratschiExp $ */1 /* $Id: rebar.c,v 1.11 1999-12-18 20:57:00 achimha Exp $ */ 2 2 /* 3 3 * Rebar control … … 21 21 * - All notifications. 22 22 */ 23 24 /* WINE 991212 */ 23 25 24 26 #include <string.h> … … 911 913 } 912 914 915 static LRESULT 916 REBAR_GetVersion (HWND hwnd) 917 { 918 REBAR_INFO *infoPtr = REBAR_GetInfoPtr (hwnd); 919 return infoPtr->iVersion; 920 } 913 921 914 922 static LRESULT … … 1523 1531 } 1524 1532 1533 static LRESULT 1534 REBAR_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 } 1525 1546 1526 1547 static LRESULT … … 1594 1615 1595 1616 /* initialize info structure */ 1617 infoPtr->iVersion = 0; 1596 1618 infoPtr->clrBk = CLR_NONE; 1597 1619 infoPtr->clrText = RGB(0, 0, 0); … … 1922 1944 return REBAR_GetUnicodeFormat (hwnd); 1923 1945 1946 case CCM_GETVERSION: 1947 return REBAR_GetVersion (hwnd); 1948 1924 1949 case RB_HITTEST: 1925 1950 return REBAR_HitTest (hwnd, wParam, lParam); … … 1969 1994 case RB_SETUNICODEFORMAT: 1970 1995 return REBAR_SetUnicodeFormat (hwnd, wParam); 1996 1997 case CCM_SETVERSION: 1998 return REBAR_SetVersion (hwnd, (INT)wParam); 1971 1999 1972 2000 case RB_SHOWBAND:
Note:
See TracChangeset
for help on using the changeset viewer.