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

Last change on this file since 3409 was 3409, checked in by cbratschi, 25 years ago

new listview messages and styles, new resources

File size: 3.7 KB
Line 
1/* $Id: comctl32.h,v 1.13 2000-04-16 18:26:57 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
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
42// string functions from kernel32
43LPWSTR WIN32API HEAP_strdupAtoW( HANDLE heap, DWORD flags, LPCSTR str );
44LPSTR WIN32API HEAP_strdupWtoA( HANDLE heap, DWORD flags, LPCWSTR str );
45
46
47/**************************************************************************
48 * UNDOCUMENTED functions
49 */
50
51/* private heap memory functions */
52
53LPVOID WINAPI COMCTL32_Alloc (DWORD);
54LPVOID WINAPI COMCTL32_ReAlloc (LPVOID, DWORD);
55BOOL WINAPI COMCTL32_Free (LPVOID);
56DWORD WINAPI COMCTL32_GetSize (LPVOID);
57
58
59extern 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//direction bitmaps
94#define IDB_DIRECTION_ALL 132
95#define IDB_DIRECTION_NS 133
96#define IDB_DIRECTION WE 134
97
98//Header filter bitmap
99#define IDB_HEADER_FILTER 140
100
101//cursors
102#define IDC_COMCTL32_ERROR 20480
103#define IDC_COMCTL32_INFORMATION 20481
104#define IDC_COMCTL32_EXCLAMATION 20482
105
106#define IDC_COMCTL32_DRAGRECT 102
107#define IDC_COMCTL32_ARROW1 104
108#define IDC_COMCTL32_ARROW2 105
109#define IDC_COMCTL32_DRAGHLINE 106
110#define IDC_COMCTL32_SPLITHLINE 107
111#define IDC_COMCTL32_HAND 108
112#define IDC_COMCTL32_DIRECTION_NS 109
113#define IDC_COMCTL32_DIRECTION_WE 110
114#define IDC_COMCTL32_DIRECTION_ALL 111
115#define IDC_COMCTL32_DIRECTION_N 112
116#define IDC_COMCTL32_DIRECTION_S 113
117#define IDC_COMCTL32_DIRECTION_E 114
118#define IDC_COMCTL32_DIRECTION_W 115
119#define IDC_COMCTL32_DIRECTION_NE 116
120#define IDC_COMCTL32_DIRECTION_NW 117
121#define IDC_COMCTL32_DIRECTION_SE 118
122#define IDC_COMCTL32_DIRECTION_SW 119
123
124#define IDC_COMCTL32_SPLITVLINE 135
125#define IDC_COMCTL32_ENTER 150
126
127/* Month calendar month menu popup */
128#define IDD_MCMONTHMENU 300
129
130#define IDM_JAN 301
131#define IDM_FEB 302
132#define IDM_MAR 303
133#define IDM_APR 304
134#define IDM_MAY 305
135#define IDM_JUN 306
136#define IDM_JUL 307
137#define IDM_AUG 308
138#define IDM_SEP 309
139#define IDM_OCT 310
140#define IDM_NOV 311
141#define IDM_DEC 312
142
143/* treeview checkboxes */
144#define IDT_CHECK 401
145
146#endif /* _H_COMCTL32 */
Note: See TracBrowser for help on using the repository browser.