資源簡介
顏色提取器
顏色提取器
顏色提取器
顏色提取器
顏色提取器
顏色提取器
顏色提取器

代碼片段和文件信息
//?ColorPicker.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ColorPicker.h“
#include?“ColorPickerDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CColorPickerApp
BEGIN_MESSAGE_MAP(CColorPickerApp?CWinApp)
//{{AFX_MSG_MAP(CColorPickerApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CColorPickerApp?construction
CColorPickerApp::CColorPickerApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CColorPickerApp?object
CColorPickerApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CColorPickerApp?initialization
BOOL?CColorPickerApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CColorPickerDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2010-07-01?10:22??顏色提取器\
?????文件???????20932??2010-01-08?23:19??顏色提取器\ColorPicker.aps
?????文件????????1201??2010-01-08?23:21??顏色提取器\ColorPicker.clw
?????文件????????2133??2009-07-09?16:50??顏色提取器\ColorPicker.cpp
?????文件????????4249??2009-07-09?16:50??顏色提取器\ColorPicker.dsp
?????文件?????????547??2009-07-09?16:50??顏色提取器\ColorPicker.dsw
?????文件????????1379??2009-07-09?16:50??顏色提取器\ColorPicker.h
?????文件???????58368??2010-01-08?23:22??顏色提取器\ColorPicker.ncb
?????文件???????53760??2010-01-08?23:22??顏色提取器\ColorPicker.opt
?????文件????????1676??2010-01-08?23:17??顏色提取器\ColorPicker.plg
?????文件????????5394??2009-07-09?17:21??顏色提取器\ColorPicker.rc
?????文件????????5288??2009-10-04?22:33??顏色提取器\ColorPickerDlg.cpp
?????文件????????1645??2009-07-09?17:20??顏色提取器\ColorPickerDlg.h
?????文件????????3669??2009-07-09?16:50??顏色提取器\ReadMe.txt
?????目錄???????????0??2010-06-30?09:40??顏色提取器\res\
?????文件?????????781??2009-07-09?17:13??顏色提取器\resource.h
?????文件????????1078??2009-07-09?16:50??顏色提取器\res\ColorPicker.ico
?????文件?????????403??2009-07-09?16:50??顏色提取器\res\ColorPicker.rc2
?????文件?????????213??2009-07-09?16:50??顏色提取器\StdAfx.cpp
?????文件????????1054??2009-07-09?16:50??顏色提取器\StdAfx.h
?????文件???????44593??2010-06-30?10:02??顏色提取器\Visual?C++.jpg
評論
共有 條評論