ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

int MdiSdiDlg::Command ( int  id,
int  code 
) [protected, virtual]

Reimplemented from Dialog.

Definition at line 250 of file settings.cpp.

{
    if (code == BN_CLICKED) {
        switch(id) {
          case IDOK: {
            bool mdi = IsDlgButtonChecked(_hwnd, IDC_MDI)==BST_CHECKED;
            bool separateFolders = IsDlgButtonChecked(_hwnd, IDC_SEPARATE_SUBFOLDERS)==BST_CHECKED;

            XMLPos explorer_options = g_Globals.get_cfg("general/explorer");

            XMLBoolRef(explorer_options, "mdi") = mdi;
            XMLBoolRef(explorer_options, "separate-folders") = separateFolders;
          } // fall through

          case IDCANCEL:
            EndDialog(_hwnd, id);
            break;
        }

        return 0;
    }

    return 1;
}

Generated on Thu May 24 2012 06:30:36 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.