Files
Client/Server/AdminTool/AdminToolClient/InitDialogBar.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

73 lines
1.6 KiB
C++

// InitDialogBar.cpp : 구현 파일입니다.
//
#include "stdafx.h"
#include "AdminToolClient.h"
#include "InitDialogBar.h"
// CInitDialogBar 대화 상자입니다.
IMPLEMENT_DYNAMIC(CInitDialogBar, CDialogBar)
BEGIN_MESSAGE_MAP(CInitDialogBar, CDialogBar)
END_MESSAGE_MAP()
CInitDialogBar::CInitDialogBar()
{
// In derived classes set intial
// state of control(s) here
}
CInitDialogBar::~CInitDialogBar()
{
}
BOOL CInitDialogBar::Create(CWnd * pParentWnd, LPCTSTR lpszTemplateName, UINT nStyle, UINT nID)
{
// Let MFC Create the control
if(!CDialogBar::Create(pParentWnd, lpszTemplateName, nStyle, nID))
return FALSE;
// Since there is no WM_INITDIALOG message we have to call
// our own InitDialog function ourselves after m_hWnd is valid
if(!OnInitDialogBar())
return FALSE;
return TRUE;
}
BOOL CInitDialogBar::Create(CWnd * pParentWnd, UINT nIDTemplate, UINT nStyle, UINT nID)
{
if(!Create(pParentWnd, MAKEINTRESOURCE(nIDTemplate), nStyle, nID))
return FALSE;
// Since there is no WM_INITDIALOG message we have to call
// our own InitDialog function ourselves after m_hWnd is valid
if(!OnInitDialogBar())
return FALSE;
return TRUE;
}
BOOL CInitDialogBar::OnInitDialogBar()
{
// Support for the MFC DDX model
// If you do not want this do not call the base class
// from derived classes
UpdateData(FALSE);
return TRUE;
}
void CInitDialogBar::DoDataExchange(CDataExchange* pDX)
{
//Derived Classes Overide this function
ASSERT(pDX);
CDialogBar::DoDataExchange(pDX);
// In derived class call the DDX_??? functions to set/retrieve values
// of your controls. See example derived class for how to do this.
}
// CInitDialogBar 메시지 처리기입니다.