Defines | Functions

settings.cpp File Reference

#include <precomp.h>
#include "../resource.h"
#include "../taskbar/traynotify.h"
#include "settings.h"
Include dependency graph for settings.cpp:

Go to the source code of this file.

Defines

#define PSN_QUERYINITIALFOCUS   (-213)

Functions

void ExplorerPropertySheet (HWND hparent)

Define Documentation

#define PSN_QUERYINITIALFOCUS   (-213)

Definition at line 100 of file settings.cpp.

Referenced by DesktopSettingsDlg::Notify().


Function Documentation

void ExplorerPropertySheet ( HWND  hparent )

Definition at line 39 of file settings.cpp.

References PropertySheetDialog::add(), PropertySheetDialog::DoModal(), IDD_DESKBAR_DESKTOP, IDD_DESKBAR_STARTMENU, IDD_DESKBAR_TASKBAR, IDI_REACTOS, IDS_DESKTOP, IDS_STARTMENU, IDS_TASKBAR, TEXT, and WINDOW_CREATOR.

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

{
    PropertySheetDialog ps(hparent);

    ps.dwFlags |= PSH_USEICONID | PSH_PROPTITLE;
    ps.pszIcon = MAKEINTRESOURCE(IDI_REACTOS);
    ps.pszCaption = TEXT("Explorer");

    PropSheetPage psp1(IDD_DESKBAR_DESKTOP, WINDOW_CREATOR(DesktopSettingsDlg));
    psp1.dwFlags |= PSP_USETITLE;
    psp1.pszTitle = MAKEINTRESOURCE(IDS_DESKTOP);
    ps.add(psp1);

    PropSheetPage psp2(IDD_DESKBAR_TASKBAR, WINDOW_CREATOR(TaskbarSettingsDlg));
    psp2.dwFlags |= PSP_USETITLE;
    psp2.pszTitle = MAKEINTRESOURCE(IDS_TASKBAR);
    ps.add(psp2);

    PropSheetPage psp3(IDD_DESKBAR_STARTMENU, WINDOW_CREATOR(StartmenuSettingsDlg));
    psp3.dwFlags |= PSP_USETITLE;
    psp3.pszTitle = MAKEINTRESOURCE(IDS_STARTMENU);
    ps.add(psp3);

    ps.DoModal();
}

Here is the call graph for this function:

Here is the caller graph for this function:


ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage