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