Line | |
---|
1 | /* $Id: controls.h,v 1.1 1999-10-20 06:38:08 sandervl Exp $ */
|
---|
2 | /*
|
---|
3 | * Win32 common controls
|
---|
4 | *
|
---|
5 | * Copyright (c) 1999 Christoph Bratschi
|
---|
6 | *
|
---|
7 | */
|
---|
8 |
|
---|
9 | #ifndef __CONTROLS_H
|
---|
10 | #define __CONTROLS_H
|
---|
11 |
|
---|
12 | #include "win32wbase.h"
|
---|
13 |
|
---|
14 | #define GetInfoPtr(hwnd) (GetWindowLongA(hwnd,0))
|
---|
15 | #define SetInfoPtr(hwnd,data) \
|
---|
16 | SetWindowLongA(hwnd,0,data)
|
---|
17 |
|
---|
18 | void CONTROLS_Register();
|
---|
19 | void CONTROLS_Unregister();
|
---|
20 |
|
---|
21 | #define BUTTON_CONTROL 0
|
---|
22 | #define STATIC_CONTROL 1
|
---|
23 | #define SCROLLBAR_CONTROL 2
|
---|
24 | #define LISTBOX_CONTROL 3
|
---|
25 | #define COMBOLBOX_CONTROL 4
|
---|
26 | #define COMBOBOX_CONTROL 5
|
---|
27 | #define EDIT_CONTROL 6
|
---|
28 | #define MDICLIENT_CONTROL 7
|
---|
29 | #define DIALOG_CONTROL 8
|
---|
30 | #define DESKTOP_CONTROL 9
|
---|
31 | #define MAX_CONTROLS 10
|
---|
32 |
|
---|
33 | BOOL WIDGETS_IsControl(Win32BaseWindow *window, int control);
|
---|
34 |
|
---|
35 |
|
---|
36 | #endif // __CONTROLS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.