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>
76 lines
1.6 KiB
C++
76 lines
1.6 KiB
C++
// Arrangement2.cpp : 응용 프로그램에 대한 클래스 동작을 정의합니다.
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "Arrangement2.h"
|
|
#include "Arrangement2Dlg.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#endif
|
|
|
|
|
|
// CArrangement2App
|
|
|
|
BEGIN_MESSAGE_MAP(CArrangement2App, CWinApp)
|
|
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
// CArrangement2App 생성
|
|
|
|
CArrangement2App::CArrangement2App()
|
|
{
|
|
// TODO: 여기에 생성 코드를 추가합니다.
|
|
// InitInstance에 모든 중요한 초기화 작업을 배치합니다.
|
|
}
|
|
|
|
|
|
// 유일한 CArrangement2App 개체입니다.
|
|
|
|
CArrangement2App theApp;
|
|
|
|
|
|
// CArrangement2App 초기화
|
|
|
|
BOOL CArrangement2App::InitInstance()
|
|
{
|
|
// 응용 프로그램 매니페스트가 ComCtl32.dll 버전 6 이상을 사용하여 비주얼 스타일을
|
|
// 사용하도록 지정하는 경우, Windows XP 상에서 반드시 InitCommonControls()가 필요합니다.
|
|
// InitCommonControls()를 사용하지 않으면 창을 만들 수 없습니다.
|
|
InitCommonControls();
|
|
|
|
CWinApp::InitInstance();
|
|
|
|
GdiplusStartupInput gdiplusStartupInput;
|
|
GdiplusStartup(&m_gdiplusToken, &gdiplusStartupInput, NULL);
|
|
|
|
AfxEnableControlContainer();
|
|
|
|
|
|
CArrangement2Dlg dlg;
|
|
m_pMainWnd = &dlg;
|
|
INT_PTR nResponse = dlg.DoModal();
|
|
if (nResponse == IDOK)
|
|
{
|
|
// TODO: 여기에 대화 상자가 확인을 눌러 없어지는 경우 처리할
|
|
// 코드를 배치합니다.
|
|
}
|
|
else if (nResponse == IDCANCEL)
|
|
{
|
|
// TODO: 여기에 대화 상자가 취소를 눌러 없어지는 경우 처리할
|
|
// 코드를 배치합니다.
|
|
}
|
|
|
|
// 대화 상자가 닫혔으므로 응용 프로그램의 메시지 펌프를 시작하지 않고
|
|
// 응용 프로그램을 끝낼 수 있도록 FALSE를 반환합니다.
|
|
return FALSE;
|
|
}
|
|
|
|
int CArrangement2App::ExitInstance()
|
|
{
|
|
GdiplusShutdown(m_gdiplusToken);
|
|
|
|
return CWinApp::ExitInstance();
|
|
}
|