Classes | Functions

settings.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DesktopSettingsDlg
 "Desktopbar Settings" Property Sheet Dialog More...
struct  TaskbarSettingsDlg
 "Taskbar Settings" Property Sheet Dialog More...
struct  StartmenuSettingsDlg
 "Startmenu Settings" Property Sheet Dialog More...
struct  MdiSdiDlg
 configuration dialog to choose between MDI and SDI mode More...

Functions

void ExplorerPropertySheet (HWND hparent)

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