Files
Client/Server/ManageTool/MonitoringTool/MonitoringSheet.cpp
LGram16 dd97ddec92 Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 20:17:20 +09:00

63 lines
1.3 KiB
C++

// 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);
}
}