|
// MyPropertySheet.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "MyPropertySheet.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyPropertySheet
IMPLEMENT_DYNAMIC(CMyPropertySheet, CPropertySheet)
BEGIN_MESSAGE_MAP(CMyPropertySheet, CPropertySheet)
//{{AFX_MSG_MAP(CMyPropertySheet)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
CMyPropertySheet::CMyPropertySheet(CWnd* pWndParent)
: CPropertySheet(_T("XListCtrlTest"), pWndParent)
{
AddPage(&m_Page1);
AddPage(&m_Page2);
AddPage(&m_Page3);
}
CMyPropertySheet::~CMyPropertySheet()
{
}
/////////////////////////////////////////////////////////////////////////////
// CMyPropertySheet message handlers
BOOL CMyPropertySheet::OnInitDialog()
{
CPropertySheet::OnInitDialog();
// ModifyStyleEx(WS_EX_DLGMODALFRAME, 0); // enable sys menu and icon
// set minimal size
CRect rc;
GetWindowRect(&rc);
return TRUE;
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I attended St. Michael's College of the University of Toronto, with the intention of becoming a priest. A friend in the University's Computer Science Department got me interested in programming, and I have been hooked ever since.
Recently, I have moved to Los Angeles where I am doing consulting and development work.
For consulting and custom software development, please see
www.hdsoft.org.