Eric Kohl | 654ee2c | 1999-05-22 10:52:31 +0000 | [diff] [blame] | 1 | /****************************************************************************** |
Vincent Béron | 9a62491 | 2002-05-31 23:06:46 +0000 | [diff] [blame^] | 2 | * |
Eric Kohl | 654ee2c | 1999-05-22 10:52:31 +0000 | [diff] [blame] | 3 | * Common definitions (resource ids and global variables) |
| 4 | * |
| 5 | * Copyright 1999 Thuy Nguyen |
| 6 | * Copyright 1999 Eric Kohl |
| 7 | * |
Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 8 | * This library is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU Lesser General Public |
| 10 | * License as published by the Free Software Foundation; either |
| 11 | * version 2.1 of the License, or (at your option) any later version. |
| 12 | * |
| 13 | * This library is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 | * Lesser General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU Lesser General Public |
| 19 | * License along with this library; if not, write to the Free Software |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
Eric Kohl | 654ee2c | 1999-05-22 10:52:31 +0000 | [diff] [blame] | 21 | */ |
| 22 | |
Chris Morgan | 5f9fd77 | 2000-09-13 20:27:30 +0000 | [diff] [blame] | 23 | #ifndef __WINE_COMCTL32_H |
| 24 | #define __WINE_COMCTL32_H |
| 25 | |
Eric Kohl | 654ee2c | 1999-05-22 10:52:31 +0000 | [diff] [blame] | 26 | extern HMODULE COMCTL32_hModule; |
Eric Kohl | 7379b89 | 2000-11-25 01:27:42 +0000 | [diff] [blame] | 27 | extern HBRUSH COMCTL32_hPattern55AABrush; |
Eric Kohl | 654ee2c | 1999-05-22 10:52:31 +0000 | [diff] [blame] | 28 | |
| 29 | /* Property sheet / Wizard */ |
| 30 | #define IDD_PROPSHEET 1006 |
| 31 | #define IDD_WIZARD 1020 |
| 32 | |
| 33 | #define IDC_TABCONTROL 12320 |
| 34 | #define IDC_APPLY_BUTTON 12321 |
Thuy Nguyen | bf35d80 | 1999-09-19 12:14:38 +0000 | [diff] [blame] | 35 | #define IDC_BACK_BUTTON 12323 |
| 36 | #define IDC_NEXT_BUTTON 12324 |
| 37 | #define IDC_FINISH_BUTTON 12325 |
| 38 | #define IDC_SUNKEN_LINE 12326 |
Eric Kohl | 654ee2c | 1999-05-22 10:52:31 +0000 | [diff] [blame] | 39 | |
Alexandre Julliard | 08afc1a | 1999-11-28 21:01:47 +0000 | [diff] [blame] | 40 | #define IDS_CLOSE 4160 |
Eric Kohl | 654ee2c | 1999-05-22 10:52:31 +0000 | [diff] [blame] | 41 | |
| 42 | /* Toolbar customization dialog */ |
| 43 | #define IDD_TBCUSTOMIZE 200 |
| 44 | |
| 45 | #define IDC_AVAILBTN_LBOX 201 |
| 46 | #define IDC_RESET_BTN 202 |
| 47 | #define IDC_TOOLBARBTN_LBOX 203 |
| 48 | #define IDC_REMOVE_BTN 204 |
| 49 | #define IDC_HELP_BTN 205 |
| 50 | #define IDC_MOVEUP_BTN 206 |
| 51 | #define IDC_MOVEDN_BTN 207 |
| 52 | |
Eric Kohl | ea9d4ce | 2000-11-07 20:30:11 +0000 | [diff] [blame] | 53 | #define IDS_SEPARATOR 1024 |
| 54 | |
Eric Kohl | 4d7e877 | 1999-07-31 13:10:46 +0000 | [diff] [blame] | 55 | /* Toolbar imagelist bitmaps */ |
| 56 | #define IDB_STD_SMALL 120 |
| 57 | #define IDB_STD_LARGE 121 |
| 58 | #define IDB_VIEW_SMALL 124 |
| 59 | #define IDB_VIEW_LARGE 125 |
| 60 | #define IDB_HIST_SMALL 130 |
| 61 | #define IDB_HIST_LARGE 131 |
| 62 | |
| 63 | |
Alex Priem | b2e91b6 | 1999-07-10 12:00:04 +0000 | [diff] [blame] | 64 | /* Month calendar month menu popup */ |
| 65 | #define IDD_MCMONTHMENU 300 |
| 66 | |
| 67 | #define IDM_JAN 301 |
| 68 | #define IDM_FEB 302 |
| 69 | #define IDM_MAR 303 |
| 70 | #define IDM_APR 304 |
| 71 | #define IDM_MAY 305 |
| 72 | #define IDM_JUN 306 |
| 73 | #define IDM_JUL 307 |
| 74 | #define IDM_AUG 308 |
| 75 | #define IDM_SEP 309 |
| 76 | #define IDM_OCT 310 |
| 77 | #define IDM_NOV 311 |
Eric Kohl | 4d7e877 | 1999-07-31 13:10:46 +0000 | [diff] [blame] | 78 | #define IDM_DEC 312 |
Alex Priem | e6e71ad | 1999-11-28 19:50:01 +0000 | [diff] [blame] | 79 | |
Uwe Bonnes | c3585ba | 2000-10-15 00:24:48 +0000 | [diff] [blame] | 80 | #define IDM_TODAY 4163 |
| 81 | #define IDM_GOTODAY 4164 |
| 82 | |
Alex Priem | e6e71ad | 1999-11-28 19:50:01 +0000 | [diff] [blame] | 83 | /* Treeview Checboxes */ |
| 84 | |
| 85 | #define IDT_CHECK 401 |
| 86 | |
Eric Kohl | dbbc224 | 2000-11-09 20:26:34 +0000 | [diff] [blame] | 87 | |
| 88 | /* Header cursors */ |
| 89 | #define IDC_DIVIDER 106 |
| 90 | #define IDC_DIVIDEROPEN 107 |
| 91 | |
| 92 | |
| 93 | /* DragList icon */ |
| 94 | #define IDI_DRAGARROW 150 |
| 95 | |
Vincent Béron | 9a62491 | 2002-05-31 23:06:46 +0000 | [diff] [blame^] | 96 | typedef struct |
Guy L. Albertelli | 35d8e1e | 2002-04-05 21:14:05 +0000 | [diff] [blame] | 97 | { |
| 98 | COLORREF clrBtnHighlight; /* COLOR_BTNHIGHLIGHT */ |
| 99 | COLORREF clrBtnShadow; /* COLOR_BTNSHADOW */ |
| 100 | COLORREF clrBtnText; /* COLOR_BTNTEXT */ |
| 101 | COLORREF clrBtnFace; /* COLOR_BTNFACE */ |
| 102 | COLORREF clrHighlight; /* COLOR_HIGHLIGHT */ |
| 103 | COLORREF clrHighlightText; /* COLOR_HIGHLIGHTTEXT */ |
| 104 | COLORREF clr3dHilight; /* COLOR_3DHILIGHT */ |
| 105 | COLORREF clr3dShadow; /* COLOR_3DSHADOW */ |
| 106 | COLORREF clr3dDkShadow; /* COLOR_3DDKSHADOW */ |
| 107 | COLORREF clr3dFace; /* COLOR_3DFACE */ |
| 108 | COLORREF clrWindow; /* COLOR_WINDOW */ |
| 109 | COLORREF clrWindowText; /* COLOR_WINDOWTEXT */ |
| 110 | COLORREF clrGrayText; /* COLOR_GREYTEXT */ |
| 111 | COLORREF clrActiveCaption; /* COLOR_ACTIVECAPTION */ |
| 112 | COLORREF clrInfoBk; /* COLOR_INFOBK */ |
| 113 | COLORREF clrInfoText; /* COLOR_INFOTEXT */ |
| 114 | } COMCTL32_SysColor; |
| 115 | |
| 116 | extern COMCTL32_SysColor comctl32_color; |
Eric Kohl | dbbc224 | 2000-11-09 20:26:34 +0000 | [diff] [blame] | 117 | |
Chris Morgan | 5f9fd77 | 2000-09-13 20:27:30 +0000 | [diff] [blame] | 118 | /* Internal function */ |
| 119 | HWND COMCTL32_CreateToolTip (HWND); |
Guy L. Albertelli | 35d8e1e | 2002-04-05 21:14:05 +0000 | [diff] [blame] | 120 | VOID COMCTL32_RefreshSysColors(void); |
Eric Kohl | b7546b6 | 2000-11-15 22:14:43 +0000 | [diff] [blame] | 121 | INT Str_GetPtrWtoA (LPCWSTR lpSrc, LPSTR lpDest, INT nMaxLen); |
| 122 | BOOL Str_SetPtrAtoW (LPWSTR *lppDest, LPCSTR lpSrc); |
| 123 | |
Vincent Béron | 9a62491 | 2002-05-31 23:06:46 +0000 | [diff] [blame^] | 124 | #define COMCTL32_VERSION_MINOR 0 |
Gerard Patel | 8b21b6b | 2001-03-16 16:50:24 +0000 | [diff] [blame] | 125 | #define WINE_FILEVERSION 5, COMCTL32_VERSION_MINOR, 0, 0 |
| 126 | #define WINE_FILEVERSIONSTR "5.00" |
Chris Morgan | 5f9fd77 | 2000-09-13 20:27:30 +0000 | [diff] [blame] | 127 | |
| 128 | #endif /* __WINE_COMCTL32_H */ |