www.pudn.com > kugong.rar > LjxDlg.cpp
// LjxDlg.cpp : implementation file
//
#include "stdafx.h"
#include "pjt.h"
#include "LjxDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CLjxDlg dialog
CLjxDlg::CLjxDlg(CWnd* pParent /*=NULL*/)
: CDialog(CLjxDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CLjxDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CLjxDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CLjxDlg)
DDX_Control(pDX, IDOK, m_MyOk);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CLjxDlg, CDialog)
//{{AFX_MSG_MAP(CLjxDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CLjxDlg message handlers
BOOL CLjxDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
// CenterWindow();
m_MyOk.SetIcon(IDI_MYOK);
m_MyOk.OffsetColor(CButtonST::BTNST_COLOR_BK_IN, 30);
m_MyOk.SetColor(CButtonST::BTNST_COLOR_FG_IN, RGB(0, 128, 0));
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}