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

Last change on this file since 2013 was 1730, checked in by achimha, 26 years ago

added HEAP_strdupAtoW/WtoA calls that were commented out

File size: 2.5 KB
Line 
1/* $Id: comctl32.h,v 1.10 1999-11-14 10:58:37 achimha 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 990923 */
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 TRACE(x)
27#define FIXME(x)
28#define WARN(x)
29
30#define _OS2WIN_H
31#define NO_ULONG
32#include <misc.h>
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38/* registers window classes inside this DLL */
39void CDECL RegisterCOMCTL32WindowClasses(unsigned long hinstDLL);
40void CDECL UnregisterCOMCTL32WindowClasses(void);
41#ifdef __cplusplus
42}
43#endif
44
45
46// string functions from kernel32
47LPWSTR WIN32API HEAP_strdupAtoW( HANDLE heap, DWORD flags, LPCSTR str );
48LPSTR WIN32API HEAP_strdupWtoA( HANDLE heap, DWORD flags, LPCWSTR str );
49
50
51/**************************************************************************
52 * UNDOCUMENTED functions
53 */
54
55/* private heap memory functions */
56
57LPVOID WINAPI COMCTL32_Alloc (DWORD);
58LPVOID WINAPI COMCTL32_ReAlloc (LPVOID, DWORD);
59BOOL WINAPI COMCTL32_Free (LPVOID);
60DWORD WINAPI COMCTL32_GetSize (LPVOID);
61
62
63extern HMODULE COMCTL32_hModule;
64
65/* Property sheet / Wizard */
66#define IDD_PROPSHEET 1006
67#define IDD_WIZARD 1020
68
69#define IDC_TABCONTROL 12320
70#define IDC_APPLY_BUTTON 12321
71#define IDC_BACK_BUTTON 12323
72#define IDC_NEXT_BUTTON 12324
73#define IDC_FINISH_BUTTON 12325
74#define IDC_SUNKEN_LINE 12326
75
76/* Toolbar customization dialog */
77#define IDD_TBCUSTOMIZE 200
78
79#define IDC_AVAILBTN_LBOX 201
80#define IDC_RESET_BTN 202
81#define IDC_TOOLBARBTN_LBOX 203
82#define IDC_REMOVE_BTN 204
83#define IDC_HELP_BTN 205
84#define IDC_MOVEUP_BTN 206
85#define IDC_MOVEDN_BTN 207
86
87/* Toolbar imagelist bitmaps */
88#define IDB_STD_SMALL 120
89#define IDB_STD_LARGE 121
90#define IDB_VIEW_SMALL 124
91#define IDB_VIEW_LARGE 125
92#define IDB_HIST_SMALL 130
93#define IDB_HIST_LARGE 131
94
95
96/* Month calendar month menu popup */
97#define IDD_MCMONTHMENU 300
98
99#define IDM_JAN 301
100#define IDM_FEB 302
101#define IDM_MAR 303
102#define IDM_APR 304
103#define IDM_MAY 305
104#define IDM_JUN 306
105#define IDM_JUL 307
106#define IDM_AUG 308
107#define IDM_SEP 309
108#define IDM_OCT 310
109#define IDM_NOV 311
110#define IDM_DEC 312
111
112#endif /* _H_COMCTL32 */
Note: See TracBrowser for help on using the repository browser.