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