ReactOS  0.4.13-dev-249-gcba1a2f
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 WINDOW_CREATOR(WND_CLASS)
Definition: window.h:202
#define IDD_DESKBAR_STARTMENU
Definition: resource.h:100
#define MAKEINTRESOURCE
Definition: winuser.h:591
#define IDS_STARTMENU
Definition: shresdef.h:84
#define PSH_USEICONID
Definition: prsht.h:42
#define PSH_PROPTITLE
Definition: prsht.h:40
Property Sheet dialog.
Definition: window.h:408
"Startmenu Settings" Property Sheet Dialog
Definition: settings.h:80
#define IDI_REACTOS
Definition: osk_res.h:25
#define PSP_USETITLE
Definition: prsht.h:26
#define IDD_DESKBAR_TASKBAR
Definition: resource.h:98
"Desktopbar Settings" Property Sheet Dialog
Definition: settings.h:35
#define TEXT(s)
Definition: k32.h:26
#define IDS_DESKTOP
Definition: shresdef.h:65
"Taskbar Settings" Property Sheet Dialog
Definition: settings.h:65
#define IDS_TASKBAR
Definition: resource.h:35
#define IDD_DESKBAR_DESKTOP
Definition: resource.h:63

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