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

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

Merged Rewind menu control

File size: 1.7 KB
Line 
1/* $Id: ctrlconf.h,v 1.2 2003-01-03 16:35:51 sandervl Exp $ */
2/*
3 * Win32 common controls
4 *
5 */
6
7#ifndef __CTRLCONF_H
8#define __CTRLCONF_H
9
10#include "wndmsg.h"
11#include "win32wmisc.h"
12
13#define SPY_GetMsgName(msg, hwnd) GetMsgText(msg)
14
15#define MapSL(a) a
16
17#define SendMessage16 SendMessageA
18
19#define WIN_GetFullHandle(hwnd) hwnd
20
21#define WIN_SuspendWndsLock() 0
22#define WIN_RestoreWndsLock(ipreviousLock)
23
24//WIN31 look only -> we don't use it
25#define NC_DrawSysButton(hwnd, hdc, state)
26
27
28#define LOCAL_Alloc(ds, flags, size) 0
29#define LOCAL_ReAlloc(ds, handle, size, flags ) 0
30#define LOCAL_Lock(ds, handle ) NULL
31#define LOCAL_Unlock(ds, handle ) 1
32#define LOCAL_Size(ds, handle ) 0
33
34/* Wine look */
35
36typedef enum
37{
38 WIN31_LOOK,
39 WIN95_LOOK,
40 WIN98_LOOK
41} WINE_LOOK;
42
43#define TWEAK_WineLook WIN98_LOOK
44
45typedef LPDRAGINFO LPDRAGINFO16;
46
47/* Built-in class descriptor */
48struct builtin_class_descr
49{
50 LPCSTR name; /* class name */
51 UINT style; /* class style */
52 WNDPROC procA; /* ASCII window procedure */
53 WNDPROC procW; /* Unicode window procedure */
54 INT extra; /* window extra bytes */
55 LPCSTR cursor; /* cursor name */
56 HBRUSH brush; /* brush or system color */
57};
58
59#ifdef __cplusplus
60extern "C" {
61#endif
62
63extern const struct builtin_class_descr LISTBOX_builtin_class;
64extern const struct builtin_class_descr COMBOLBOX_builtin_class;
65extern const struct builtin_class_descr COMBO_builtin_class;
66extern const struct builtin_class_descr EDIT_builtin_class;
67extern const struct builtin_class_descr MDICLIENT_builtin_class;
68extern const struct builtin_class_descr SCROLL_builtin_class;
69extern const struct builtin_class_descr MENU_builtin_class;
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif // __CTRLCONF_H
Note: See TracBrowser for help on using the repository browser.