// MonitoringSheet.cpp : ±¸Çö ÆÄÀÏÀÔ´Ï´Ù. // #include "stdafx.h" #include "MonitoringTool.h" #include "MonitoringSheet.h" #include ".\monitoringsheet.h" // CMonitoringSheet IMPLEMENT_DYNAMIC(CMonitoringSheet, CPropertySheet) CMonitoringSheet::CMonitoringSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage) :CPropertySheet(nIDCaption, pParentWnd, iSelectPage) { AddPage(&m_ChattingPage); } CMonitoringSheet::CMonitoringSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage) :CPropertySheet(pszCaption, pParentWnd, iSelectPage) { AddPage(&m_ChattingPage); } CMonitoringSheet::~CMonitoringSheet() { } BEGIN_MESSAGE_MAP(CMonitoringSheet, CPropertySheet) ON_WM_SIZE() END_MESSAGE_MAP() // CMonitoringSheet ¸Þ½ÃÁö 󸮱âÀÔ´Ï´Ù. BOOL CMonitoringSheet::OnInitDialog() { BOOL bResult = CPropertySheet::OnInitDialog(); // ÇÊ¿ä¾ø´Â ¹öư Á¦°Å GetDlgItem(IDOK)->ShowWindow(false); GetDlgItem(IDCANCEL)->ShowWindow(false); GetDlgItem(IDHELP)->ShowWindow(false); GetDlgItem(ID_APPLY_NOW)->ShowWindow(false); return bResult; } void CMonitoringSheet::OnSize(UINT nType, int cx, int cy) { CPropertySheet::OnSize(nType, cx, cy); // TODO: ¿©±â¿¡ ¸Þ½ÃÁö 󸮱â Äڵ带 Ãß°¡ÇÕ´Ï´Ù. if(m_ChattingPage.GetSafeHwnd()) { CRect rect; GetClientRect(rect); m_ChattingPage.MoveWindow(rect); } }