]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/ctl3d/ctl3d.h
compile fix for gcc
[wxWidgets.git] / include / wx / msw / ctl3d / ctl3d.h
1 /*-----------------------------------------------------------------------
2 | CTL3D.DLL
3 |
4 | Adds 3d effects to Windows controls
5 |
6 | See ctl3d.doc for info
7 |
8 -----------------------------------------------------------------------*/
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13
14 BOOL WINAPI Ctl3dSubclassDlg(HWND, WORD);
15 BOOL WINAPI Ctl3dSubclassDlgEx(HWND, DWORD);
16 WORD WINAPI Ctl3dGetVer(void);
17 BOOL WINAPI Ctl3dEnabled(void);
18 HBRUSH WINAPI Ctl3dCtlColor(HDC, LONG); // ARCHAIC, use Ctl3dCtlColorEx
19 HBRUSH WINAPI Ctl3dCtlColorEx(UINT wm, WPARAM wParam, LPARAM lParam);
20 BOOL WINAPI Ctl3dColorChange(void);
21 BOOL WINAPI Ctl3dSubclassCtl(HWND);
22 LONG WINAPI Ctl3dDlgFramePaint(HWND, UINT, WPARAM, LPARAM);
23
24 BOOL WINAPI Ctl3dAutoSubclass(HANDLE);
25
26 BOOL WINAPI Ctl3dRegister(HANDLE);
27 BOOL WINAPI Ctl3dUnregister(HANDLE);
28
29 //begin DBCS: far east short cut key support
30 VOID WINAPI Ctl3dWinIniChange(void);
31 //end DBCS
32
33
34 /* Ctl3dSubclassDlg3d flags */
35 #define CTL3D_BUTTONS 0x0001
36 #define CTL3D_LISTBOXES 0x0002
37 #define CTL3D_EDITS 0x0004
38 #define CTL3D_COMBOS 0x0008
39 #define CTL3D_STATICTEXTS 0x0010
40 #define CTL3D_STATICFRAMES 0x0020
41
42 #define CTL3D_NODLGWINDOW 0x00010000
43 #define CTL3D_ALL 0xffff
44
45 #define WM_DLGBORDER (WM_USER+3567)
46 /* WM_DLGBORDER *(int FAR *)lParam return codes */
47 #define CTL3D_NOBORDER 0
48 #define CTL3D_BORDER 1
49
50 #define WM_DLGSUBCLASS (WM_USER+3568)
51 /* WM_DLGSUBCLASS *(int FAR *)lParam return codes */
52 #define CTL3D_NOSUBCLASS 0
53 #define CTL3D_SUBCLASS 1
54
55 /* Resource ID for 3dcheck.bmp (for .lib version of ctl3d) */
56 #define CTL3D_3DCHECK 26567
57
58
59 #ifdef __cplusplus
60 }
61 #endif