home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************
- $Archive: $
- $Workfile: $
- $Author: $
- $Date: $
- $Revision: $
- *******************************************************************/
-
- #include "stdafx.h"
- #include "resource.h"
- #include "MyPropertyPage5.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CMyPropertyPage5 dialog
-
- IMPLEMENT_DYNCREATE(CMyPropertyPage5, CPropertyPage)
-
- CMyPropertyPage5::CMyPropertyPage5() : CPropertyPage(CMyPropertyPage5::IDD)
- {
- //{{AFX_DATA_INIT(CMyPropertyPage5)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
-
- CMyPropertyPage5::~CMyPropertyPage5()
- {
- }
-
- void CMyPropertyPage5::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CMyPropertyPage5)
- DDX_Control(pDX, IDC_SLIDER1, m_slider1);
- //}}AFX_DATA_MAP
- }
-
- BEGIN_MESSAGE_MAP(CMyPropertyPage5, CDialog)
- //{{AFX_MSG_MAP(CMyPropertyPage5)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CMyPropertyPage5 message handlers
-
- BOOL CMyPropertyPage5::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
- m_slider1.SetRange(0, 60);
- m_slider1.SetPos(25);
-
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }
-