home *** CD-ROM | disk | FTP | other *** search
- // TrackerOptions.cpp : implementation file
- //
-
-
- #include "stdafx.h"
- #include "tracker.h"
- #include "TrackerOptions.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CTrackerOptions
-
- IMPLEMENT_DYNAMIC(CTrackerOptions, CPropertySheet)
-
-
- CTrackerOptions::CTrackerOptions(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
- {
- CPropertySheet::Construct( pszCaption, pParentWnd, iSelectPage );
-
- m_color = new CPropPageColor();
- AddPage( (CPropertyPage*) m_color );
-
- m_editor = new CPropPageEditor();
- AddPage( (CPropertyPage*) m_editor );
-
- m_midi = new CPropPageMidi();
- AddPage( (CPropertyPage*) m_midi );
-
- m_sound = new CPropPageSound();
- AddPage( (CPropertyPage*) m_sound );
-
-
- }
-
- CTrackerOptions::~CTrackerOptions()
- {
- delete m_color;
- delete m_editor;
- delete m_midi;
- delete m_sound;
- }
-
-
-
- BEGIN_MESSAGE_MAP(CTrackerOptions, CPropertySheet)
- //{{AFX_MSG_MAP(CTrackerOptions)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CTrackerOptions message handlers
-
- BOOL CTrackerOptions::OnInitDialog()
- {
- BOOL bResult = CPropertySheet::OnInitDialog();
- // TODO: Add your specialized code here
-
- return bResult;
- }
-