1 | /* $Id: ctrlconf.h,v 1.1 2002-12-18 12:28:02 sandervl Exp $ */
|
---|
2 | /*
|
---|
3 | * Win32 common controls
|
---|
4 | *
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef __CTRLCONF_H
|
---|
8 | #define __CTRLCONF_H
|
---|
9 |
|
---|
10 | #include "wndmsg.h"
|
---|
11 |
|
---|
12 | #define SPY_GetMsgName(msg, hwnd) GetMsgText(msg)
|
---|
13 |
|
---|
14 | #define MapSL(a) a
|
---|
15 |
|
---|
16 | #define SendMessage16 SendMessageA
|
---|
17 |
|
---|
18 | #define WIN_GetFullHandle(hwnd) hwnd
|
---|
19 |
|
---|
20 | #define WIN_SuspendWndsLock() 0
|
---|
21 | #define WIN_RestoreWndsLock(ipreviousLock)
|
---|
22 |
|
---|
23 | #define LOCAL_Alloc(ds, flags, size) 0
|
---|
24 | #define LOCAL_ReAlloc(ds, handle, size, flags ) 0
|
---|
25 | #define LOCAL_Lock(ds, handle ) NULL
|
---|
26 | #define LOCAL_Unlock(ds, handle ) 1
|
---|
27 | #define LOCAL_Size(ds, handle ) 0
|
---|
28 |
|
---|
29 | /* Wine look */
|
---|
30 |
|
---|
31 | typedef enum
|
---|
32 | {
|
---|
33 | WIN31_LOOK,
|
---|
34 | WIN95_LOOK,
|
---|
35 | WIN98_LOOK
|
---|
36 | } WINE_LOOK;
|
---|
37 |
|
---|
38 | #define TWEAK_WineLook WIN98_LOOK
|
---|
39 |
|
---|
40 | typedef LPDRAGINFO LPDRAGINFO16;
|
---|
41 |
|
---|
42 | /* Built-in class descriptor */
|
---|
43 | struct builtin_class_descr
|
---|
44 | {
|
---|
45 | LPCSTR name; /* class name */
|
---|
46 | UINT style; /* class style */
|
---|
47 | WNDPROC procA; /* ASCII window procedure */
|
---|
48 | WNDPROC procW; /* Unicode window procedure */
|
---|
49 | INT extra; /* window extra bytes */
|
---|
50 | LPCSTR cursor; /* cursor name */
|
---|
51 | HBRUSH brush; /* brush or system color */
|
---|
52 | };
|
---|
53 |
|
---|
54 | #ifdef __cplusplus
|
---|
55 | extern "C" {
|
---|
56 | #endif
|
---|
57 |
|
---|
58 | extern const struct builtin_class_descr LISTBOX_builtin_class;
|
---|
59 | extern const struct builtin_class_descr COMBOLBOX_builtin_class;
|
---|
60 | extern const struct builtin_class_descr COMBO_builtin_class;
|
---|
61 | extern const struct builtin_class_descr EDIT_builtin_class;
|
---|
62 | extern const struct builtin_class_descr MDICLIENT_builtin_class;
|
---|
63 |
|
---|
64 | #ifdef __cplusplus
|
---|
65 | }
|
---|
66 | #endif
|
---|
67 |
|
---|
68 | #endif // __CTRLCONF_H
|
---|