source: trunk/src/user32/new/controls.h@ 2292

Last change on this file since 2292 was 2292, checked in by cbratschi, 26 years ago

* empty log message *

File size: 914 bytes
Line 
1/* $Id: controls.h,v 1.2 2000-01-02 19:30:42 cbratschi 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 MAX_CONTROLS 12
34
35BOOL CONTROLS_IsControl(Win32BaseWindow *window, int control);
36
37
38#endif // __CONTROLS_H
Note: See TracBrowser for help on using the repository browser.