]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/ctl3d/ctl3d.h
1 /*-----------------------------------------------------------------------
4 | Adds 3d effects to Windows controls
6 | See ctl3d.doc for info
8 -----------------------------------------------------------------------*/
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
);
24 BOOL WINAPI
Ctl3dAutoSubclass(HANDLE
);
26 BOOL WINAPI
Ctl3dRegister(HANDLE
);
27 BOOL WINAPI
Ctl3dUnregister(HANDLE
);
29 //begin DBCS: far east short cut key support
30 VOID WINAPI
Ctl3dWinIniChange(void);
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
42 #define CTL3D_NODLGWINDOW 0x00010000
43 #define CTL3D_ALL 0xffff
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
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
55 /* Resource ID for 3dcheck.bmp (for .lib version of ctl3d) */
56 #define CTL3D_3DCHECK 26567