| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 
 | // Sheet.cpp : fichier d'implémentation
//
 
#include "stdafx.h"
#include "Sheet.h"
#include ".\sheet.h"
 
 
// CSheet
 
IMPLEMENT_DYNAMIC(CSheet, CPropertySheet)
CSheet::CSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}
 
CSheet::CSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
}
 
CSheet::CSheet(CWnd* pParentWnd)
	:CPropertySheet(AFX_IDS_APP_TITLE, pParentWnd)
{
}
 
CSheet::~CSheet()
{
}
 
 
BEGIN_MESSAGE_MAP(CSheet, CPropertySheet)
	ON_WM_PAINT()
END_MESSAGE_MAP()
 
 
// Gestionnaires de messages CSheet
 
 
void CSheet::OnPaint()
{
	CPaintDC dc(this);
	GetActivePage()->SetFocus();
}
 
BOOL CSheet::OnInitDialog()
{
	BOOL bResult = CPropertySheet::OnInitDialog();
 
	return bResult;
} |