]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/ctl3d/ctl3d.h
Fixed to work with the new wxMacControl system.
[wxWidgets.git] / include / wx / msw / ctl3d / ctl3d.h
CommitLineData
bbf1f0e5
KB
1/*-----------------------------------------------------------------------
2| CTL3D.DLL
3|
4| Adds 3d effects to Windows controls
5|
6| See ctl3d.doc for info
7|
8-----------------------------------------------------------------------*/
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13
14BOOL WINAPI Ctl3dSubclassDlg(HWND, WORD);
15BOOL WINAPI Ctl3dSubclassDlgEx(HWND, DWORD);
16WORD WINAPI Ctl3dGetVer(void);
17BOOL WINAPI Ctl3dEnabled(void);
18HBRUSH WINAPI Ctl3dCtlColor(HDC, LONG); // ARCHAIC, use Ctl3dCtlColorEx
19HBRUSH WINAPI Ctl3dCtlColorEx(UINT wm, WPARAM wParam, LPARAM lParam);
20BOOL WINAPI Ctl3dColorChange(void);
21BOOL WINAPI Ctl3dSubclassCtl(HWND);
22LONG WINAPI Ctl3dDlgFramePaint(HWND, UINT, WPARAM, LPARAM);
23
24BOOL WINAPI Ctl3dAutoSubclass(HANDLE);
25
26BOOL WINAPI Ctl3dRegister(HANDLE);
27BOOL WINAPI Ctl3dUnregister(HANDLE);
28
29//begin DBCS: far east short cut key support
30VOID 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