1 | /* $Id: comctl32.h,v 1.12 2000-02-18 17:13:37 cbratschi Exp $ */
|
---|
2 | /*
|
---|
3 | * Win32 common controls implementation
|
---|
4 | *
|
---|
5 | * Copyright (C) 1999 Achim Hasenmueller
|
---|
6 | *
|
---|
7 | * Based on the work of the WINE group (www.winehq.com)
|
---|
8 | *
|
---|
9 | *
|
---|
10 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
11 | *
|
---|
12 | */
|
---|
13 |
|
---|
14 | /* Status: WINE 991212 */
|
---|
15 |
|
---|
16 | #ifndef _H_COMCTL32
|
---|
17 | #define _H_COMCTL32
|
---|
18 |
|
---|
19 | #include "winbase.h"
|
---|
20 | #include "wingdi.h"
|
---|
21 | #include "winuser.h"
|
---|
22 | #include <win/commctrl.h>
|
---|
23 | #include "unicode.h"
|
---|
24 | #include "wineuni.h"
|
---|
25 |
|
---|
26 | #define _OS2WIN_H
|
---|
27 | #define NO_ULONG
|
---|
28 | #include <misc.h>
|
---|
29 |
|
---|
30 | #ifdef __cplusplus
|
---|
31 | extern "C" {
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | /* registers window classes inside this DLL */
|
---|
35 | void CDECL RegisterCOMCTL32WindowClasses(unsigned long hinstDLL);
|
---|
36 | void CDECL UnregisterCOMCTL32WindowClasses(void);
|
---|
37 | #ifdef __cplusplus
|
---|
38 | }
|
---|
39 | #endif
|
---|
40 |
|
---|
41 |
|
---|
42 | // string functions from kernel32
|
---|
43 | LPWSTR WIN32API HEAP_strdupAtoW( HANDLE heap, DWORD flags, LPCSTR str );
|
---|
44 | LPSTR WIN32API HEAP_strdupWtoA( HANDLE heap, DWORD flags, LPCWSTR str );
|
---|
45 |
|
---|
46 |
|
---|
47 | /**************************************************************************
|
---|
48 | * UNDOCUMENTED functions
|
---|
49 | */
|
---|
50 |
|
---|
51 | /* private heap memory functions */
|
---|
52 |
|
---|
53 | LPVOID WINAPI COMCTL32_Alloc (DWORD);
|
---|
54 | LPVOID WINAPI COMCTL32_ReAlloc (LPVOID, DWORD);
|
---|
55 | BOOL WINAPI COMCTL32_Free (LPVOID);
|
---|
56 | DWORD WINAPI COMCTL32_GetSize (LPVOID);
|
---|
57 |
|
---|
58 |
|
---|
59 | extern HMODULE COMCTL32_hModule;
|
---|
60 |
|
---|
61 | /* Property sheet / Wizard */
|
---|
62 | #define IDD_PROPSHEET 1006
|
---|
63 | #define IDD_WIZARD 1020
|
---|
64 |
|
---|
65 | #define IDC_TABCONTROL 12320
|
---|
66 | #define IDC_APPLY_BUTTON 12321
|
---|
67 | #define IDC_BACK_BUTTON 12323
|
---|
68 | #define IDC_NEXT_BUTTON 12324
|
---|
69 | #define IDC_FINISH_BUTTON 12325
|
---|
70 | #define IDC_SUNKEN_LINE 12326
|
---|
71 |
|
---|
72 | #define IDS_CLOSE 4160
|
---|
73 |
|
---|
74 | /* Toolbar customization dialog */
|
---|
75 | #define IDD_TBCUSTOMIZE 200
|
---|
76 |
|
---|
77 | #define IDC_AVAILBTN_LBOX 201
|
---|
78 | #define IDC_RESET_BTN 202
|
---|
79 | #define IDC_TOOLBARBTN_LBOX 203
|
---|
80 | #define IDC_REMOVE_BTN 204
|
---|
81 | #define IDC_HELP_BTN 205
|
---|
82 | #define IDC_MOVEUP_BTN 206
|
---|
83 | #define IDC_MOVEDN_BTN 207
|
---|
84 |
|
---|
85 | /* Toolbar imagelist bitmaps */
|
---|
86 | #define IDB_STD_SMALL 120
|
---|
87 | #define IDB_STD_LARGE 121
|
---|
88 | #define IDB_VIEW_SMALL 124
|
---|
89 | #define IDB_VIEW_LARGE 125
|
---|
90 | #define IDB_HIST_SMALL 130
|
---|
91 | #define IDB_HIST_LARGE 131
|
---|
92 |
|
---|
93 |
|
---|
94 | /* Month calendar month menu popup */
|
---|
95 | #define IDD_MCMONTHMENU 300
|
---|
96 |
|
---|
97 | #define IDM_JAN 301
|
---|
98 | #define IDM_FEB 302
|
---|
99 | #define IDM_MAR 303
|
---|
100 | #define IDM_APR 304
|
---|
101 | #define IDM_MAY 305
|
---|
102 | #define IDM_JUN 306
|
---|
103 | #define IDM_JUL 307
|
---|
104 | #define IDM_AUG 308
|
---|
105 | #define IDM_SEP 309
|
---|
106 | #define IDM_OCT 310
|
---|
107 | #define IDM_NOV 311
|
---|
108 | #define IDM_DEC 312
|
---|
109 |
|
---|
110 | /* treeview checkboxes */
|
---|
111 | #define IDT_CHECK 401
|
---|
112 |
|
---|
113 | #endif /* _H_COMCTL32 */
|
---|