source: trunk/src/comctl32/comctl32.h@ 5280

Last change on this file since 5280 was 4641, checked in by bird, 25 years ago

Permanent IDS_SEPARATOR correction.

File size: 4.0 KB
Line 
1/* $Id: comctl32.h,v 1.18 2000-11-20 04:06:04 bird 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: Corel WINE 20000807 */
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
31extern "C" {
32#endif
33
34/* registers window classes inside this DLL */
35void CDECL RegisterCOMCTL32WindowClasses(unsigned long hinstDLL);
36void CDECL UnregisterCOMCTL32WindowClasses(void);
37#ifdef __cplusplus
38}
39#endif
40
41// string functions from kernel32
42LPWSTR WIN32API HEAP_strdupAtoW( HANDLE heap, DWORD flags, LPCSTR str );
43LPSTR WIN32API HEAP_strdupWtoA( HANDLE heap, DWORD flags, LPCWSTR str );
44
45
46/**************************************************************************
47 * UNDOCUMENTED functions
48 */
49
50/* private heap memory functions */
51
52LPVOID WINAPI COMCTL32_Alloc (DWORD);
53LPVOID WINAPI COMCTL32_ReAlloc (LPVOID, DWORD);
54BOOL WINAPI COMCTL32_Free (LPVOID);
55DWORD WINAPI COMCTL32_GetSize (LPVOID);
56
57
58extern HMODULE COMCTL32_hModule;
59
60/* Property sheet / Wizard */
61#define IDD_PROPSHEET 1006
62#define IDD_WIZARD 1020
63
64#define IDC_TABCONTROL 12320
65#define IDC_APPLY_BUTTON 12321
66#define IDC_BACK_BUTTON 12323
67#define IDC_NEXT_BUTTON 12324
68#define IDC_FINISH_BUTTON 12325
69#define IDC_SUNKEN_LINE 12326
70
71#define IDS_CLOSE 4160
72
73/* Toolbar customization dialog */
74#define IDD_TBCUSTOMIZE 200
75
76#define IDC_AVAILBTN_LBOX 201
77#define IDC_RESET_BTN 202
78#define IDC_TOOLBARBTN_LBOX 203
79#define IDC_REMOVE_BTN 204
80#define IDC_HELP_BTN 205
81#define IDC_MOVEUP_BTN 206
82#define IDC_MOVEDN_BTN 207
83
84#define IDS_SEPARATOR 1024
85
86/* Toolbar imagelist bitmaps */
87#define IDB_STD_SMALL 120
88#define IDB_STD_LARGE 121
89#define IDB_VIEW_SMALL 124
90#define IDB_VIEW_LARGE 125
91#define IDB_HIST_SMALL 130
92#define IDB_HIST_LARGE 131
93
94//direction bitmaps
95#define IDB_DIRECTION_ALL 132
96#define IDB_DIRECTION_NS 133
97#define IDB_DIRECTION WE 134
98
99//Header filter bitmap
100#define IDB_HEADER_FILTER 140
101
102//cursors
103#define IDC_COMCTL32_ERROR 20480
104#define IDC_COMCTL32_INFORMATION 20481
105#define IDC_COMCTL32_EXCLAMATION 20482
106
107#define IDC_COMCTL32_DRAGRECT 102
108#define IDC_COMCTL32_ARROW1 104
109#define IDC_COMCTL32_ARROW2 105
110#define IDC_COMCTL32_DRAGHLINE 106
111#define IDC_COMCTL32_SPLITHLINE 107
112#define IDC_COMCTL32_HAND 108
113#define IDC_COMCTL32_DIRECTION_NS 109
114#define IDC_COMCTL32_DIRECTION_WE 110
115#define IDC_COMCTL32_DIRECTION_ALL 111
116#define IDC_COMCTL32_DIRECTION_N 112
117#define IDC_COMCTL32_DIRECTION_S 113
118#define IDC_COMCTL32_DIRECTION_E 114
119#define IDC_COMCTL32_DIRECTION_W 115
120#define IDC_COMCTL32_DIRECTION_NE 116
121#define IDC_COMCTL32_DIRECTION_NW 117
122#define IDC_COMCTL32_DIRECTION_SE 118
123#define IDC_COMCTL32_DIRECTION_SW 119
124
125#define IDC_COMCTL32_SPLITVLINE 135
126#define IDC_COMCTL32_ENTER 150
127
128/* Month calendar month menu popup */
129#define IDD_MCMONTHMENU 300
130
131#define IDM_JAN 301
132#define IDM_FEB 302
133#define IDM_MAR 303
134#define IDM_APR 304
135#define IDM_MAY 305
136#define IDM_JUN 306
137#define IDM_JUL 307
138#define IDM_AUG 308
139#define IDM_SEP 309
140#define IDM_OCT 310
141#define IDM_NOV 311
142#define IDM_DEC 312
143
144#define IDM_TODAY 4163
145#define IDM_GOTODAY 4164
146
147/* Treeview Checboxes */
148
149#define IDT_CHECK 401
150
151
152/* Header cursors */
153#define IDC_DIVIDER 106
154#define IDC_DIVIDEROPEN 107
155
156
157/* DragList icon */
158#define IDI_DRAGARROW 150
159
160#endif /* _H_COMCTL32 */
Note: See TracBrowser for help on using the repository browser.