| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * Win32 common controls
|
|---|
| 3 | *
|
|---|
| 4 | * Copyright (c) 1999 Christoph Bratschi
|
|---|
| 5 | *
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef __CONTROLS_H
|
|---|
| 9 | #define __CONTROLS_H
|
|---|
| 10 |
|
|---|
| 11 | #include "wingdi.h"
|
|---|
| 12 |
|
|---|
| 13 | #define GetInfoPtr(hwnd) (GetWindowLongA(hwnd,0))
|
|---|
| 14 | #define SetInfoPtr(hwnd,data) \
|
|---|
| 15 | SetWindowLongA(hwnd,0,data)
|
|---|
| 16 |
|
|---|
| 17 | void CONTROLS_Register();
|
|---|
| 18 | void CONTROLS_Unregister();
|
|---|
| 19 |
|
|---|
| 20 | char* Win32ToOdinControlName(char* name);
|
|---|
| 21 | char* OdinToWin32ControlName(char* name);
|
|---|
| 22 |
|
|---|
| 23 | #endif // __CONTROLS_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.