home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 21 / IOPROG_21.ISO / SOFT / PROPVIEW.ZIP / DevStudio / MyProjects / MdLessPpsh / ModelessPpsh.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-20  |  1.2 KB  |  51 lines

  1. // ModelessPpsh.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "MdLessPpsh.h"
  6. #include "ModelessPpsh.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CModelessPpsh
  16.  
  17. IMPLEMENT_DYNAMIC(CModelessPpsh, CPropertySheet)
  18.  
  19. CModelessPpsh::CModelessPpsh(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
  20.     :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
  21. {
  22. }
  23.  
  24. CModelessPpsh::CModelessPpsh(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
  25.     :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
  26. {
  27. }
  28.  
  29. CModelessPpsh::~CModelessPpsh()
  30. {
  31. }
  32.  
  33.  
  34. BEGIN_MESSAGE_MAP(CModelessPpsh, CPropertySheet)
  35.     //{{AFX_MSG_MAP(CModelessPpsh)
  36.         // NOTE - the ClassWizard will add and remove mapping macros here.
  37.     //}}AFX_MSG_MAP
  38. END_MESSAGE_MAP()
  39.  
  40. /////////////////////////////////////////////////////////////////////////////
  41. // CModelessPpsh message handlers
  42.  
  43. BOOL CModelessPpsh::OnInitDialog() 
  44. {
  45.     m_bModeless = FALSE;
  46.     BOOL bResult = CPropertySheet::OnInitDialog();
  47.     m_bModeless = TRUE;
  48.     
  49.     return bResult;
  50. }
  51.