1*c2c66affSColin Finck /*
2*c2c66affSColin Finck  * Copyright 2004, 2004 Martin Fuchs
3*c2c66affSColin Finck  *
4*c2c66affSColin Finck  * This library is free software; you can redistribute it and/or
5*c2c66affSColin Finck  * modify it under the terms of the GNU Lesser General Public
6*c2c66affSColin Finck  * License as published by the Free Software Foundation; either
7*c2c66affSColin Finck  * version 2.1 of the License, or (at your option) any later version.
8*c2c66affSColin Finck  *
9*c2c66affSColin Finck  * This library is distributed in the hope that it will be useful,
10*c2c66affSColin Finck  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*c2c66affSColin Finck  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12*c2c66affSColin Finck  * Lesser General Public License for more details.
13*c2c66affSColin Finck  *
14*c2c66affSColin Finck  * You should have received a copy of the GNU Lesser General Public
15*c2c66affSColin Finck  * License along with this library; if not, write to the Free Software
16*c2c66affSColin Finck  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
17*c2c66affSColin Finck  */
18*c2c66affSColin Finck 
19*c2c66affSColin Finck 
20*c2c66affSColin Finck  //
21*c2c66affSColin Finck  // Explorer clone
22*c2c66affSColin Finck  //
23*c2c66affSColin Finck  // dialogs/settings.h
24*c2c66affSColin Finck  //
25*c2c66affSColin Finck  // Explorer dialogs
26*c2c66affSColin Finck  //
27*c2c66affSColin Finck  // Martin Fuchs, 18.01.2004
28*c2c66affSColin Finck  //
29*c2c66affSColin Finck 
30*c2c66affSColin Finck 
31*c2c66affSColin Finck void ExplorerPropertySheet(HWND hparent);
32*c2c66affSColin Finck 
33*c2c66affSColin Finck 
34*c2c66affSColin Finck  /// "Desktopbar Settings" Property Sheet Dialog
35*c2c66affSColin Finck struct DesktopSettingsDlg : public OwnerDrawParent<PropSheetPageDlg>
36*c2c66affSColin Finck {
37*c2c66affSColin Finck 	typedef OwnerDrawParent<PropSheetPageDlg> super;
38*c2c66affSColin Finck 
39*c2c66affSColin Finck 	DesktopSettingsDlg(HWND hwnd);
40*c2c66affSColin Finck 
41*c2c66affSColin Finck protected:
42*c2c66affSColin Finck 	ResBitmap	_bmp0;
43*c2c66affSColin Finck 	ResBitmap	_bmp1;
44*c2c66affSColin Finck 	ResBitmap	_bmp2;
45*c2c66affSColin Finck 	ResBitmap	_bmp3;
46*c2c66affSColin Finck 	ResBitmap	_bmp4;
47*c2c66affSColin Finck 	ResBitmap	_bmp5;
48*c2c66affSColin Finck 	ResBitmap	_bmp6;
49*c2c66affSColin Finck 	ResBitmap	_bmp7;
50*c2c66affSColin Finck 	ResBitmap	_bmp8;
51*c2c66affSColin Finck 	ResBitmap	_bmp9;
52*c2c66affSColin Finck 	ResBitmap	_bmp10;
53*c2c66affSColin Finck 
54*c2c66affSColin Finck 	int	_alignment_cur;
55*c2c66affSColin Finck 	int	_alignment_tmp;
56*c2c66affSColin Finck 
57*c2c66affSColin Finck 	int	_display_version_org;
58*c2c66affSColin Finck 
59*c2c66affSColin Finck 	virtual int Command(int id, int code);
60*c2c66affSColin Finck 	virtual int Notify(int id, NMHDR* pnmh);
61*c2c66affSColin Finck };
62*c2c66affSColin Finck 
63*c2c66affSColin Finck 
64*c2c66affSColin Finck  /// "Taskbar Settings" Property Sheet Dialog
65*c2c66affSColin Finck struct TaskbarSettingsDlg : public PropSheetPageDlg
66*c2c66affSColin Finck {
67*c2c66affSColin Finck 	typedef PropSheetPageDlg super;
68*c2c66affSColin Finck 
69*c2c66affSColin Finck 	TaskbarSettingsDlg(HWND hwnd);
70*c2c66affSColin Finck 
71*c2c66affSColin Finck 	virtual int	Command(int id, int code);
72*c2c66affSColin Finck 	virtual int Notify(int id, NMHDR* pnmh);
73*c2c66affSColin Finck 
74*c2c66affSColin Finck protected:
75*c2c66affSColin Finck 	XMLDoc	_cfg_org;
76*c2c66affSColin Finck };
77*c2c66affSColin Finck 
78*c2c66affSColin Finck 
79*c2c66affSColin Finck  /// "Startmenu Settings" Property Sheet Dialog
80*c2c66affSColin Finck struct StartmenuSettingsDlg : public PropSheetPageDlg
81*c2c66affSColin Finck {
82*c2c66affSColin Finck 	typedef PropSheetPageDlg super;
83*c2c66affSColin Finck 
84*c2c66affSColin Finck 	StartmenuSettingsDlg(HWND hwnd);
85*c2c66affSColin Finck 
86*c2c66affSColin Finck 	virtual int	Command(int id, int code);
87*c2c66affSColin Finck };
88*c2c66affSColin Finck 
89*c2c66affSColin Finck 
90*c2c66affSColin Finck  /// configuration dialog to choose between MDI and SDI mode
91*c2c66affSColin Finck struct MdiSdiDlg : public ResizeController<Dialog>
92*c2c66affSColin Finck {
93*c2c66affSColin Finck 	typedef ResizeController<Dialog> super;
94*c2c66affSColin Finck 
95*c2c66affSColin Finck 	MdiSdiDlg(HWND hwnd);
96*c2c66affSColin Finck 
97*c2c66affSColin Finck protected:
98*c2c66affSColin Finck 	virtual int	Command(int id, int code);
99*c2c66affSColin Finck };
100