summaryrefslogtreecommitdiff
path: root/win/prefsht.h
diff options
context:
space:
mode:
authordocwhat1999-11-14 06:43:18 +0000
committerdocwhat1999-11-14 06:43:18 +0000
commitd71eec8062e852e56f03102ba4b4e87dc485821d (patch)
tree452368ad0e7e24627e517a0c88c2508d02cea6dc /win/prefsht.h
parent2046090b7ce8dd901ce43e650be5acf44016d714 (diff)
Initial revision
git-svn-id: http://svn.leocad.org/trunk@2 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/prefsht.h')
-rw-r--r--win/prefsht.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/win/prefsht.h b/win/prefsht.h
new file mode 100644
index 0000000..37dabf8
--- /dev/null
+++ b/win/prefsht.h
@@ -0,0 +1,61 @@
+// PrefSht.h : header file
+//
+// This class defines custom modal property sheet
+// CPreferencesSheet.
+
+#ifndef __PREFSHT_H__
+#define __PREFSHT_H__
+
+#include "PrefPage.h"
+#include "DisabTab.h"
+
+/////////////////////////////////////////////////////////////////////////////
+// CPreferencesSheet
+
+class CPreferencesSheet : public CPropertySheet
+{
+ DECLARE_DYNAMIC(CPreferencesSheet)
+
+// Construction
+public:
+ CPreferencesSheet(CWnd* pWndParent = NULL);
+
+// Attributes
+public:
+ CPreferencesGeneral m_PageGeneral;
+ CPreferencesDetail m_PageDetail;
+ CPreferencesDrawing m_PageDrawing;
+ CPreferencesScene m_PageScene;
+ CPreferencesPrint m_PagePrint;
+
+ CTabCtrlWithDisable m_tabCtrl;
+
+// Operations
+public:
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CPreferencesSheet)
+ public:
+ virtual BOOL PreTranslateMessage(MSG* pMsg);
+ virtual BOOL OnInitDialog();
+ //}}AFX_VIRTUAL
+
+// Implementation
+public:
+ virtual ~CPreferencesSheet();
+
+// Generated message map functions
+protected:
+ //{{AFX_MSG(CPreferencesSheet)
+ // NOTE - the ClassWizard will add and remove member functions here.
+ //}}AFX_MSG
+
+ afx_msg void OnDefault();
+
+ DECLARE_MESSAGE_MAP()
+};
+
+/////////////////////////////////////////////////////////////////////////////
+
+#endif // __PREFSHT_H__