| 1 | /******************************************************************************
|
|---|
| 2 | *
|
|---|
| 3 | * Common definitions (resource ids and global variables)
|
|---|
| 4 | *
|
|---|
| 5 | * Copyright 1999 Thuy Nguyen
|
|---|
| 6 | * Copyright 1999 Eric Kohl
|
|---|
| 7 | *
|
|---|
| 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
|
|---|
| 21 | */
|
|---|
| 22 |
|
|---|
| 23 | #ifndef __WINE_COMCTL32_H
|
|---|
| 24 | #define __WINE_COMCTL32_H
|
|---|
| 25 |
|
|---|
| 26 | #ifdef __WIN32OS2__
|
|---|
| 27 | #include <heapstring.h>
|
|---|
| 28 | #endif
|
|---|
| 29 |
|
|---|
| 30 | extern HMODULE COMCTL32_hModule;
|
|---|
| 31 | extern HBRUSH COMCTL32_hPattern55AABrush;
|
|---|
| 32 |
|
|---|
| 33 | /* Property sheet / Wizard */
|
|---|
| 34 | #define IDD_PROPSHEET 1006
|
|---|
| 35 | #define IDD_WIZARD 1020
|
|---|
| 36 |
|
|---|
| 37 | #define IDC_TABCONTROL 12320
|
|---|
| 38 | #define IDC_APPLY_BUTTON 12321
|
|---|
| 39 | #define IDC_BACK_BUTTON 12323
|
|---|
| 40 | #define IDC_NEXT_BUTTON 12324
|
|---|
| 41 | #define IDC_FINISH_BUTTON 12325
|
|---|
| 42 | #define IDC_SUNKEN_LINE 12326
|
|---|
| 43 |
|
|---|
| 44 | #define IDS_CLOSE 4160
|
|---|
| 45 |
|
|---|
| 46 | /* Toolbar customization dialog */
|
|---|
| 47 | #define IDD_TBCUSTOMIZE 200
|
|---|
| 48 |
|
|---|
| 49 | #define IDC_AVAILBTN_LBOX 201
|
|---|
| 50 | #define IDC_RESET_BTN 202
|
|---|
| 51 | #define IDC_TOOLBARBTN_LBOX 203
|
|---|
| 52 | #define IDC_REMOVE_BTN 204
|
|---|
| 53 | #define IDC_HELP_BTN 205
|
|---|
| 54 | #define IDC_MOVEUP_BTN 206
|
|---|
| 55 | #define IDC_MOVEDN_BTN 207
|
|---|
| 56 |
|
|---|
| 57 | #define IDS_SEPARATOR 1024
|
|---|
| 58 |
|
|---|
| 59 | /* Toolbar imagelist bitmaps */
|
|---|
| 60 | #define IDB_STD_SMALL 120
|
|---|
| 61 | #define IDB_STD_LARGE 121
|
|---|
| 62 | #define IDB_VIEW_SMALL 124
|
|---|
| 63 | #define IDB_VIEW_LARGE 125
|
|---|
| 64 | #define IDB_HIST_SMALL 130
|
|---|
| 65 | #define IDB_HIST_LARGE 131
|
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 | /* Month calendar month menu popup */
|
|---|
| 69 | #define IDD_MCMONTHMENU 300
|
|---|
| 70 |
|
|---|
| 71 | #define IDM_JAN 301
|
|---|
| 72 | #define IDM_FEB 302
|
|---|
| 73 | #define IDM_MAR 303
|
|---|
| 74 | #define IDM_APR 304
|
|---|
| 75 | #define IDM_MAY 305
|
|---|
| 76 | #define IDM_JUN 306
|
|---|
| 77 | #define IDM_JUL 307
|
|---|
| 78 | #define IDM_AUG 308
|
|---|
| 79 | #define IDM_SEP 309
|
|---|
| 80 | #define IDM_OCT 310
|
|---|
| 81 | #define IDM_NOV 311
|
|---|
| 82 | #define IDM_DEC 312
|
|---|
| 83 |
|
|---|
| 84 | #define IDM_TODAY 4163
|
|---|
| 85 | #define IDM_GOTODAY 4164
|
|---|
| 86 |
|
|---|
| 87 | /* Treeview Checboxes */
|
|---|
| 88 |
|
|---|
| 89 | #define IDT_CHECK 401
|
|---|
| 90 |
|
|---|
| 91 |
|
|---|
| 92 | /* Header cursors */
|
|---|
| 93 | #define IDC_DIVIDER 106
|
|---|
| 94 | #define IDC_DIVIDEROPEN 107
|
|---|
| 95 |
|
|---|
| 96 | #ifdef __WIN32OS2__
|
|---|
| 97 | /* Header filter bitmap */
|
|---|
| 98 | #define IDB_HEADER_FILTER 140
|
|---|
| 99 |
|
|---|
| 100 | #define IDC_COMCTL32_DRAGHLINE 106
|
|---|
| 101 | #define IDC_COMCTL32_SPLITHLINE 107
|
|---|
| 102 |
|
|---|
| 103 | #endif
|
|---|
| 104 |
|
|---|
| 105 | /* DragList icon */
|
|---|
| 106 | #define IDI_DRAGARROW 150
|
|---|
| 107 |
|
|---|
| 108 | typedef struct
|
|---|
| 109 | {
|
|---|
| 110 | COLORREF clrBtnHighlight; /* COLOR_BTNHIGHLIGHT */
|
|---|
| 111 | COLORREF clrBtnShadow; /* COLOR_BTNSHADOW */
|
|---|
| 112 | COLORREF clrBtnText; /* COLOR_BTNTEXT */
|
|---|
| 113 | COLORREF clrBtnFace; /* COLOR_BTNFACE */
|
|---|
| 114 | COLORREF clrHighlight; /* COLOR_HIGHLIGHT */
|
|---|
| 115 | COLORREF clrHighlightText; /* COLOR_HIGHLIGHTTEXT */
|
|---|
| 116 | COLORREF clr3dHilight; /* COLOR_3DHILIGHT */
|
|---|
| 117 | COLORREF clr3dShadow; /* COLOR_3DSHADOW */
|
|---|
| 118 | COLORREF clr3dDkShadow; /* COLOR_3DDKSHADOW */
|
|---|
| 119 | COLORREF clr3dFace; /* COLOR_3DFACE */
|
|---|
| 120 | COLORREF clrWindow; /* COLOR_WINDOW */
|
|---|
| 121 | COLORREF clrWindowText; /* COLOR_WINDOWTEXT */
|
|---|
| 122 | COLORREF clrGrayText; /* COLOR_GREYTEXT */
|
|---|
| 123 | COLORREF clrActiveCaption; /* COLOR_ACTIVECAPTION */
|
|---|
| 124 | COLORREF clrInfoBk; /* COLOR_INFOBK */
|
|---|
| 125 | COLORREF clrInfoText; /* COLOR_INFOTEXT */
|
|---|
| 126 | } COMCTL32_SysColor;
|
|---|
| 127 |
|
|---|
| 128 | extern COMCTL32_SysColor comctl32_color;
|
|---|
| 129 |
|
|---|
| 130 | /* Internal function */
|
|---|
| 131 | HWND COMCTL32_CreateToolTip (HWND);
|
|---|
| 132 | VOID COMCTL32_RefreshSysColors(void);
|
|---|
| 133 | INT Str_GetPtrWtoA (LPCWSTR lpSrc, LPSTR lpDest, INT nMaxLen);
|
|---|
| 134 | BOOL Str_SetPtrAtoW (LPWSTR *lppDest, LPCSTR lpSrc);
|
|---|
| 135 |
|
|---|
| 136 | #define COMCTL32_VERSION_MINOR 0
|
|---|
| 137 | #define WINE_FILEVERSION 5, COMCTL32_VERSION_MINOR, 0, 0
|
|---|
| 138 | #define WINE_FILEVERSIONSTR "5.00"
|
|---|
| 139 |
|
|---|
| 140 | #ifdef __WIN32OS2__
|
|---|
| 141 | #define swprintf wsprintfW
|
|---|
| 142 | #ifdef __cplusplus
|
|---|
| 143 | extern "C" {
|
|---|
| 144 | #endif
|
|---|
| 145 |
|
|---|
| 146 | void ANIMATE_Register(void);
|
|---|
| 147 | void ANIMATE_Unregister(void);
|
|---|
| 148 | void COMBOEX_Register(void);
|
|---|
| 149 | void COMBOEX_Unregister(void);
|
|---|
| 150 | void DATETIME_Register(void);
|
|---|
| 151 | void DATETIME_Unregister(void);
|
|---|
| 152 | void FLATSB_Register(void);
|
|---|
| 153 | void FLATSB_Unregister(void);
|
|---|
| 154 | void HEADER_Register(void);
|
|---|
| 155 | void HEADER_Unregister(void);
|
|---|
| 156 | void HOTKEY_Register(void);
|
|---|
| 157 | void HOTKEY_Unregister(void);
|
|---|
| 158 | void IPADDRESS_Register(void);
|
|---|
| 159 | void IPADDRESS_Unregister(void);
|
|---|
| 160 | void LISTVIEW_Register(void);
|
|---|
| 161 | void LISTVIEW_Unregister(void);
|
|---|
| 162 | void MONTHCAL_Register(void);
|
|---|
| 163 | void MONTHCAL_Unregister(void);
|
|---|
| 164 | void NATIVEFONT_Register(void);
|
|---|
| 165 | void NATIVEFONT_Unregister(void);
|
|---|
| 166 | void PAGER_Register(void);
|
|---|
| 167 | void PAGER_Unregister(void);
|
|---|
| 168 | void PROGRESS_Register(void);
|
|---|
| 169 | void PROGRESS_Unregister(void);
|
|---|
| 170 | void REBAR_Register(void);
|
|---|
| 171 | void REBAR_Unregister(void);
|
|---|
| 172 | void STATUS_Register(void);
|
|---|
| 173 | void STATUS_Unregister(void);
|
|---|
| 174 | void TAB_Register(void);
|
|---|
| 175 | void TAB_Unregister(void);
|
|---|
| 176 | void TOOLBAR_Register(void);
|
|---|
| 177 | void TOOLBAR_Unregister(void);
|
|---|
| 178 | void TOOLTIPS_Register(void);
|
|---|
| 179 | void TOOLTIPS_Unregister(void);
|
|---|
| 180 | void TRACKBAR_Register(void);
|
|---|
| 181 | void TRACKBAR_Unregister(void);
|
|---|
| 182 | void TREEVIEW_Register(void);
|
|---|
| 183 | void TREEVIEW_Unregister(void);
|
|---|
| 184 | void UPDOWN_Register(void);
|
|---|
| 185 | void UPDOWN_Unregister(void);
|
|---|
| 186 |
|
|---|
| 187 |
|
|---|
| 188 | #ifdef __cplusplus
|
|---|
| 189 | }
|
|---|
| 190 | #endif
|
|---|
| 191 | #endif
|
|---|
| 192 |
|
|---|
| 193 | #endif /* __WINE_COMCTL32_H */
|
|---|