/*
* Copyright (c) 2003-2009 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
#pragma once

// OptionsSystem.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// COptionsSystem dialog
#include "PWPropertyPage.h"

class COptionsSystem : public CPWPropertyPage
{
  DECLARE_DYNCREATE(COptionsSystem)

  // Construction
public:
  COptionsSystem();
  ~COptionsSystem();

  const TCHAR *GetHelpName() const {return _T("system_tab");}

  // Dialog Data
  //{{AFX_DATA(COptionsSystem)
  enum { IDD = IDD_PS_SYSTEM };
  int m_maxreitems;
  BOOL m_usesystemtray;
  BOOL m_startup;
  int m_maxmruitems;
  BOOL m_mruonfilemenu;
  BOOL m_deleteregistry;
  BOOL m_defaultopenro;
  BOOL m_multipleinstances;
  //}}AFX_DATA

  // Overrides
  // ClassWizard generate virtual function overrides
  //{{AFX_VIRTUAL(COptionsSystem)
protected:
  virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  //}}AFX_VIRTUAL

  // Implementation
protected:
  // Generated message map functions
  //{{AFX_MSG(COptionsSystem)
  afx_msg void OnUseSystemTray();
  afx_msg void OnStartup();
  afx_msg void OnSetDeleteRegistry();
  afx_msg void OnApplyRegistryDeleteNow();
  afx_msg void OnNeverSaveDBNames();
  virtual BOOL OnInitDialog();
  afx_msg BOOL OnKillActive();
  //}}AFX_MSG

  DECLARE_MESSAGE_MAP()

  // Implementation
protected:
  BOOL PreTranslateMessage(MSG* pMsg);

private:
  CToolTipCtrl* m_ToolTipCtrl;
};
