home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Shareware / Programare / skincraft / SkinCrafter_v1.4.12_Demo.msi / _49E29CB9A65AABBF653C1037E1AA74B6 / _67F03C38165045C580447E0ED2EEAB49 < prev    next >
Encoding:
Text File  |  2004-06-29  |  1.5 KB  |  61 lines

  1. /******************************************************************
  2. $Archive: $
  3. $Workfile: $
  4. $Author: $
  5. $Date: $
  6. $Revision: $
  7. *******************************************************************/
  8.  
  9. #include "stdafx.h"
  10. #include "resource.h"
  11. #include "MyPropertyPage5.h"
  12.  
  13. #ifdef _DEBUG
  14. #define new DEBUG_NEW
  15. #undef THIS_FILE
  16. static char THIS_FILE[] = __FILE__;
  17. #endif
  18.  
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CMyPropertyPage5 dialog
  21.  
  22. IMPLEMENT_DYNCREATE(CMyPropertyPage5, CPropertyPage)
  23.  
  24. CMyPropertyPage5::CMyPropertyPage5() : CPropertyPage(CMyPropertyPage5::IDD)
  25. {
  26.     //{{AFX_DATA_INIT(CMyPropertyPage5)
  27.         // NOTE: the ClassWizard will add member initialization here
  28.     //}}AFX_DATA_INIT
  29. }
  30.  
  31. CMyPropertyPage5::~CMyPropertyPage5()
  32. {
  33. }
  34.  
  35. void CMyPropertyPage5::DoDataExchange(CDataExchange* pDX)
  36. {
  37.     CDialog::DoDataExchange(pDX);
  38.     //{{AFX_DATA_MAP(CMyPropertyPage5)
  39.     DDX_Control(pDX, IDC_SLIDER1, m_slider1);
  40.     //}}AFX_DATA_MAP
  41. }
  42.  
  43. BEGIN_MESSAGE_MAP(CMyPropertyPage5, CDialog)
  44.     //{{AFX_MSG_MAP(CMyPropertyPage5)
  45.     //}}AFX_MSG_MAP
  46. END_MESSAGE_MAP()
  47.  
  48. /////////////////////////////////////////////////////////////////////////////
  49. // CMyPropertyPage5 message handlers
  50.  
  51. BOOL CMyPropertyPage5::OnInitDialog() 
  52. {
  53.     CDialog::OnInitDialog();
  54.  
  55.     m_slider1.SetRange(0, 60);
  56.     m_slider1.SetPos(25);
  57.  
  58.     return TRUE;  // return TRUE unless you set the focus to a control
  59.                   // EXCEPTION: OCX Property Pages should return FALSE
  60. }
  61.