www.pudn.com > NoteBookVC++.rar > NEWCOLORDIALOG.cpp


// NEWCOLORDIALOG.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "¼Çʱ¾.h" 
#include "NEWCOLORDIALOG.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// NEWCOLORDIALOG 
 
IMPLEMENT_DYNAMIC(NEWCOLORDIALOG, CColorDialog) 
 
NEWCOLORDIALOG::NEWCOLORDIALOG(COLORREF clrInit, DWORD dwFlags, CWnd* pParentWnd) : 
	CColorDialog(clrInit, dwFlags, pParentWnd) 
{ 
 
} 
 
 
BEGIN_MESSAGE_MAP(NEWCOLORDIALOG, CColorDialog) 
	//{{AFX_MSG_MAP(NEWCOLORDIALOG) 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
 
BOOL NEWCOLORDIALOG::OnInitDialog()  
{ 
	CColorDialog::OnInitDialog(); 
	 
	// TODO: Add extra initialization here 
	NEWCOLORDIALOG::SetWindowText(Title); 
	return TRUE;  // return TRUE unless you set the focus to a control 
	              // EXCEPTION: OCX Property Pages should return FALSE 
}