資源簡(jiǎn)介
打開軟件,將光標(biāo)放置在要取色的點(diǎn)處,按下鍵盤A鍵就可得到改點(diǎn)的RGB值和HSV值

代碼片段和文件信息
//?MyHSV.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MyHSV.h“
#include?“MyHSVDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMyHSVApp
BEGIN_MESSAGE_MAP(CMyHSVApp?CWinApp)
//{{AFX_MSG_MAP(CMyHSVApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMyHSVApp?construction
CMyHSVApp::CMyHSVApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMyHSVApp?object
CMyHSVApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMyHSVApp?initialization
BOOL?CMyHSVApp::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
CMyHSVDlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????36860??2011-04-09?16:26??MyHSV\MyHSV.aps
?????文件???????2045??2011-04-09?16:41??MyHSV\MyHSV.clw
?????文件???????2049??2011-04-09?15:52??MyHSV\MyHSV.cpp
?????文件???????4141??2011-04-09?15:52??MyHSV\MyHSV.dsp
?????文件????????535??2011-04-09?15:52??MyHSV\MyHSV.dsw
?????文件???????1313??2011-04-09?15:52??MyHSV\MyHSV.h
?????文件??????41984??2011-04-09?19:06??MyHSV\MyHSV.ncb
?????文件??????48640??2011-04-09?19:06??MyHSV\MyHSV.opt
?????文件????????244??2011-04-09?19:06??MyHSV\MyHSV.plg
?????文件???????6838??2011-04-09?16:26??MyHSV\MyHSV.rc
?????文件???????4763??2011-04-09?16:27??MyHSV\MyHSVDlg.cpp
?????文件???????1578??2011-04-09?16:28??MyHSV\MyHSVDlg.h
?????文件???????3561??2011-04-09?15:52??MyHSV\ReadMe.txt
?????文件???????1078??2011-04-09?15:52??MyHSV\res\MyHSV.ico
?????文件????????397??2011-04-09?15:52??MyHSV\res\MyHSV.rc2
?????文件???????1235??2011-04-09?16:26??MyHSV\resource.h
?????文件????????207??2011-04-09?15:52??MyHSV\StdAfx.cpp
?????文件???????1054??2011-04-09?15:52??MyHSV\StdAfx.h
?????目錄??????????0??2011-11-17?15:56??MyHSV\res
?????目錄??????????0??2011-11-17?15:56??MyHSV
-----------?---------??----------?-----??----
???????????????158522????????????????????20
- 上一篇:obix學(xué)習(xí)文檔
- 下一篇:AS400教材11
評(píng)論
共有 條評(píng)論