source: trunk/src/user32/controls.h@ 2469

Last change on this file since 2469 was 2469, checked in by sandervl, 26 years ago

* empty log message *

File size: 948 bytes
Line 
1/* $Id: controls.h,v 1.4 2000-01-18 20:08:09 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
18void CONTROLS_Register();
19void 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 WINSWITCH_CONTROL 10
32#define ICONTITLE_CONTROL 11
33#define POPUPMENU_CONTROL 12
34#define MAX_CONTROLS 13
35
36BOOL CONTROLS_IsControl(Win32BaseWindow *window, int control);
37
38
39#endif // __CONTROLS_H
Note: See TracBrowser for help on using the repository browser.