summaryrefslogtreecommitdiff
path: root/win/propssht.cpp
diff options
context:
space:
mode:
authordocwhat1999-11-14 06:43:18 +0000
committerdocwhat1999-11-14 06:43:18 +0000
commitd71eec8062e852e56f03102ba4b4e87dc485821d (patch)
tree452368ad0e7e24627e517a0c88c2508d02cea6dc /win/propssht.cpp
parent2046090b7ce8dd901ce43e650be5acf44016d714 (diff)
Initial revision
git-svn-id: http://svn.leocad.org/trunk@2 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/propssht.cpp')
-rw-r--r--win/propssht.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/win/propssht.cpp b/win/propssht.cpp
new file mode 100644
index 0000000..8cbffed
--- /dev/null
+++ b/win/propssht.cpp
@@ -0,0 +1,43 @@
+// PropsSht.cpp : implementation file
+//
+
+#include "stdafx.h"
+#include "resource.h"
+#include "PropsSht.h"
+
+#ifdef _DEBUG
+#undef THIS_FILE
+static char BASED_CODE THIS_FILE[] = __FILE__;
+#endif
+
+/////////////////////////////////////////////////////////////////////////////
+// CPropertiesSheet
+
+IMPLEMENT_DYNAMIC(CPropertiesSheet, CPropertySheet)
+
+CPropertiesSheet::CPropertiesSheet(CWnd* pWndParent)
+ : CPropertySheet("", pWndParent)
+{
+ AddPage(&m_PageGeneral);
+ AddPage(&m_PageSummary);
+ AddPage(&m_PagePieces);
+ m_psh.dwFlags |= PSH_NOAPPLYNOW;
+ SetActivePage(1);
+}
+
+CPropertiesSheet::~CPropertiesSheet()
+{
+}
+
+
+BEGIN_MESSAGE_MAP(CPropertiesSheet, CPropertySheet)
+ //{{AFX_MSG_MAP(CPropertiesSheet)
+ // NOTE - the ClassWizard will add and remove mapping macros here.
+ //}}AFX_MSG_MAP
+END_MESSAGE_MAP()
+
+
+/////////////////////////////////////////////////////////////////////////////
+// CPropertiesSheet message handlers
+
+