rtoss - Rev 280

Subversion Repositories:
Rev:
// BaseDialog.cpp : ʵÏÖÎļþ
//

#include "stdafx.h"
#include "PokemonRomViewer.h"
#include "BaseDialog.h"

// CBaseDialog ¶Ô»°¿ò

IMPLEMENT_DYNAMIC(CBaseDialog, CDialog)
CBaseDialog::CBaseDialog()
{
}

CBaseDialog::~CBaseDialog()
{
}

void CBaseDialog::DoDataExchange(CDataExchange* pDX)
{
        CDialog::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CBaseDialog, CDialog)
END_MESSAGE_MAP()


// CBaseDialog ÏûÏ¢´¦Àí³ÌÐò
BOOL CBaseDialog::OnInitDialog()
{
        CDialog::OnInitDialog();

        // TODO:  ÔÚ´ËÌí¼Ó¶îÍâµÄ³õʼ»¯
        HICON   hIcon;

        if(GetWindowLongPtr(m_hWnd, GWL_STYLE) & WS_DLGFRAME)
        {
                hIcon = AfxGetApp()->LoadIcon(IDI_DIALOG);
                SetIcon(hIcon, TRUE);
                SetIcon(hIcon, FALSE);
        }

        return TRUE;  // return TRUE unless you set the focus to a control
        // Òì³£: OCX ÊôÐÔÒ³Ó¦·µ»Ø FALSE
}

void CBaseDialog::OnOK()
{
}