4 * Copyright (c) 2003 Dmitry Timoshkov
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 static BOOL CTL3D_is_auto_subclass
= FALSE
;
26 BOOL WINAPI
Ctl3dAutoSubclass(HINSTANCE hInst
)
28 CTL3D_is_auto_subclass
= TRUE
;
32 BOOL WINAPI
Ctl3dAutoSubclassEx(HINSTANCE hInst
, DWORD type
)
34 CTL3D_is_auto_subclass
= TRUE
;
38 BOOL WINAPI
Ctl3dColorChange(void)
43 HBRUSH WINAPI
Ctl3dCtlColor(HDC hdc
, HWND hwnd
)
48 HBRUSH WINAPI
Ctl3dCtlColorEx(UINT msg
, WPARAM wParam
, LPARAM lParam
)
53 LONG WINAPI
Ctl3dDlgFramePaint(HWND hwnd
, UINT msg
, WPARAM wParam
, LPARAM lParam
)
55 return DefWindowProcA(hwnd
, msg
, wParam
, lParam
);
58 BOOL WINAPI
Ctl3dEnabled(void)
63 WORD WINAPI
Ctl3dGetVer(void)
65 return MAKEWORD(31,2);
68 BOOL WINAPI
Ctl3dIsAutoSubclass(void)
70 return CTL3D_is_auto_subclass
;
73 BOOL WINAPI
Ctl3dRegister(HINSTANCE hInst
)
78 BOOL WINAPI
Ctl3dSubclassCtl(HWND hwnd
)
83 BOOL WINAPI
Ctl3dSubclassCtlEx(HWND hwnd
, int type
)
88 BOOL WINAPI
Ctl3dSubclassDlg(HWND hwnd
, WORD types
)
93 BOOL WINAPI
Ctl3dSubclassDlgEx(HWND hwnd
, DWORD types
)
98 BOOL WINAPI
Ctl3dUnAutoSubclass(void)
100 CTL3D_is_auto_subclass
= FALSE
;
104 BOOL WINAPI
Ctl3dUnregister(HINSTANCE hInst
)
106 CTL3D_is_auto_subclass
= FALSE
;
110 BOOL WINAPI
Ctl3dUnsubclassCtl(HWND hwnd
)
115 void WINAPI
Ctl3dWinIniChange(void)
119 LRESULT WINAPI
ComboWndProc3d(HWND hwnd
,UINT msg
,WPARAM wparam
,LPARAM lparam
)
124 LRESULT WINAPI
BtnWndProc3d(HWND hwnd
,UINT msg
,WPARAM wparam
,LPARAM lparam
)
129 LRESULT WINAPI
StaticWndProc3d(HWND hwnd
,UINT msg
,WPARAM wparam
,LPARAM lparam
)
134 LRESULT WINAPI
EditWndProc3d(HWND hwnd
,UINT msg
,WPARAM wparam
,LPARAM lparam
)
139 LRESULT WINAPI
ListWndProc3d(HWND hwnd
,UINT msg
,WPARAM wparam
,LPARAM lparam
)
144 LRESULT WINAPI
Ctl3dDlgProc(HWND hwnd
,UINT msg
,WPARAM wparam
,LPARAM lparam
)