ModelessPpsh.cpp
资源名称:propview.zip [点击查看]
上传用户:czhlgg
上传日期:2007-01-02
资源大小:53k
文件大小:1k
源码类别:
PropertySheet
开发平台:
Visual C++
- // ModelessPpsh.cpp : implementation file
- //
- #include "stdafx.h"
- #include "MdLessPpsh.h"
- #include "ModelessPpsh.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CModelessPpsh
- IMPLEMENT_DYNAMIC(CModelessPpsh, CPropertySheet)
- CModelessPpsh::CModelessPpsh(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
- :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
- {
- }
- CModelessPpsh::CModelessPpsh(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
- :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
- {
- }
- CModelessPpsh::~CModelessPpsh()
- {
- }
- BEGIN_MESSAGE_MAP(CModelessPpsh, CPropertySheet)
- //{{AFX_MSG_MAP(CModelessPpsh)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CModelessPpsh message handlers
- BOOL CModelessPpsh::OnInitDialog()
- {
- m_bModeless = FALSE;
- BOOL bResult = CPropertySheet::OnInitDialog();
- m_bModeless = TRUE;
- return bResult;
- }