source: trunk/src/user32/ctrlconf.h@ 9523

Last change on this file since 9523 was 9523, checked in by sandervl, 23 years ago

removed obsolete files

File size: 1.5 KB
Line 
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
31typedef enum
32{
33 WIN31_LOOK,
34 WIN95_LOOK,
35 WIN98_LOOK
36} WINE_LOOK;
37
38#define TWEAK_WineLook WIN98_LOOK
39
40typedef LPDRAGINFO LPDRAGINFO16;
41
42/* Built-in class descriptor */
43struct 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
55extern "C" {
56#endif
57
58extern const struct builtin_class_descr LISTBOX_builtin_class;
59extern const struct builtin_class_descr COMBOLBOX_builtin_class;
60extern const struct builtin_class_descr COMBO_builtin_class;
61extern const struct builtin_class_descr EDIT_builtin_class;
62extern const struct builtin_class_descr MDICLIENT_builtin_class;
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif // __CTRLCONF_H
Note: See TracBrowser for help on using the repository browser.