ReactOS 0.4.15-dev-8433-ge87f1d5
settings.cpp File Reference
#include <precomp.h>
#include "../taskbar/traynotify.h"
#include "settings.h"
Include dependency graph for settings.cpp:

Go to the source code of this file.

Macros

#define PSN_QUERYINITIALFOCUS   (-213)
 

Functions

void ExplorerPropertySheet (HWND hparent)
 

Macro Definition Documentation

◆ PSN_QUERYINITIALFOCUS

#define PSN_QUERYINITIALFOCUS   (-213)

Definition at line 98 of file settings.cpp.

Function Documentation

◆ ExplorerPropertySheet()

void ExplorerPropertySheet ( HWND  hparent)

Definition at line 37 of file settings.cpp.

38{
39 PropertySheetDialog ps(hparent);
40
41 ps.dwFlags |= PSH_USEICONID | PSH_PROPTITLE;
42 ps.pszIcon = MAKEINTRESOURCE(IDI_REACTOS);
43 ps.pszCaption = TEXT("Explorer");
44
46 psp1.dwFlags |= PSP_USETITLE;
47 psp1.pszTitle = MAKEINTRESOURCE(IDS_DESKTOP);
48 ps.add(psp1);
49
51 psp2.dwFlags |= PSP_USETITLE;
52 psp2.pszTitle = MAKEINTRESOURCE(IDS_TASKBAR);
53 ps.add(psp2);
54
56 psp3.dwFlags |= PSP_USETITLE;
57 psp3.pszTitle = MAKEINTRESOURCE(IDS_STARTMENU);
58 ps.add(psp3);
59
60 ps.DoModal();
61}
#define TEXT(s)
Definition: k32.h:26
#define IDD_DESKBAR_STARTMENU
Definition: resource.h:100
#define IDD_DESKBAR_DESKTOP
Definition: resource.h:63
#define IDD_DESKBAR_TASKBAR
Definition: resource.h:98
#define IDS_TASKBAR
Definition: resource.h:35
#define WINDOW_CREATOR(WND_CLASS)
Definition: window.h:202
#define IDI_REACTOS
Definition: osk_res.h:21
#define PSH_PROPTITLE
Definition: prsht.h:40
#define PSP_USETITLE
Definition: prsht.h:26
#define PSH_USEICONID
Definition: prsht.h:42
#define IDS_DESKTOP
Definition: shresdef.h:73
#define IDS_STARTMENU
Definition: shresdef.h:92
"Desktopbar Settings" Property Sheet Dialog
Definition: settings.h:36
Property Sheet dialog.
Definition: window.h:409
"Startmenu Settings" Property Sheet Dialog
Definition: settings.h:81
"Taskbar Settings" Property Sheet Dialog
Definition: settings.h:66
#define MAKEINTRESOURCE
Definition: winuser.h:591

Referenced by DesktopBar::Command(), and StartMenuHandler::Command().