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

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

* empty log message *

File size: 3.7 KB
Line 
1/* $Id: comctl32.h,v 1.14 2000-04-16 18:52:39 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// 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/* Toolbar imagelist bitmaps */
85#define IDB_STD_SMALL 120
86#define IDB_STD_LARGE 121
87#define IDB_VIEW_SMALL 124
88#define IDB_VIEW_LARGE 125
89#define IDB_HIST_SMALL 130
90#define IDB_HIST_LARGE 131
91
92//direction bitmaps
93#define IDB_DIRECTION_ALL 132
94#define IDB_DIRECTION_NS 133
95#define IDB_DIRECTION WE 134
96
97//Header filter bitmap
98#define IDB_HEADER_FILTER 140
99
100//cursors
101#define IDC_COMCTL32_ERROR 20480
102#define IDC_COMCTL32_INFORMATION 20481
103#define IDC_COMCTL32_EXCLAMATION 20482
104
105#define IDC_COMCTL32_DRAGRECT 102
106#define IDC_COMCTL32_ARROW1 104
107#define IDC_COMCTL32_ARROW2 105
108#define IDC_COMCTL32_DRAGHLINE 106
109#define IDC_COMCTL32_SPLITHLINE 107
110#define IDC_COMCTL32_HAND 108
111#define IDC_COMCTL32_DIRECTION_NS 109
112#define IDC_COMCTL32_DIRECTION_WE 110
113#define IDC_COMCTL32_DIRECTION_ALL 111
114#define IDC_COMCTL32_DIRECTION_N 112
115#define IDC_COMCTL32_DIRECTION_S 113
116#define IDC_COMCTL32_DIRECTION_E 114
117#define IDC_COMCTL32_DIRECTION_W 115
118#define IDC_COMCTL32_DIRECTION_NE 116
119#define IDC_COMCTL32_DIRECTION_NW 117
120#define IDC_COMCTL32_DIRECTION_SE 118
121#define IDC_COMCTL32_DIRECTION_SW 119
122
123#define IDC_COMCTL32_SPLITVLINE 135
124#define IDC_COMCTL32_ENTER 150
125
126/* Month calendar month menu popup */
127#define IDD_MCMONTHMENU 300
128
129#define IDM_JAN 301
130#define IDM_FEB 302
131#define IDM_MAR 303
132#define IDM_APR 304
133#define IDM_MAY 305
134#define IDM_JUN 306
135#define IDM_JUL 307
136#define IDM_AUG 308
137#define IDM_SEP 309
138#define IDM_OCT 310
139#define IDM_NOV 311
140#define IDM_DEC 312
141
142/* treeview checkboxes */
143#define IDT_CHECK 401
144
145#endif /* _H_COMCTL32 */
Note: See TracBrowser for help on using the repository browser.