91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 27KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-01
  • 語言: C/C++
  • 標簽:

資源簡介

獲取鼠標當前的位置和顏色 將顏色顯示在程序窗口

資源截圖

代碼片段和文件信息

//?getmouse.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“getmouse.h“
#include?“getmouseDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CGetmouseApp

BEGIN_MESSAGE_MAP(CGetmouseApp?CWinApp)
//{{AFX_MSG_MAP(CGetmouseApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CGetmouseApp?construction

CGetmouseApp::CGetmouseApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGetmouseApp?object

CGetmouseApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CGetmouseApp?initialization

BOOL?CGetmouseApp::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

CGetmouseDlg?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??2013-12-14?18:17??getmouse\
?????文件???????35620??2013-12-14?18:10??getmouse\getmouse.aps
?????文件????????1137??2013-12-14?18:10??getmouse\getmouse.clw
?????文件????????2091??2013-12-14?17:05??getmouse\getmouse.cpp
?????文件????????4195??2013-12-14?17:05??getmouse\getmouse.dsp
?????文件?????????524??2013-12-14?17:05??getmouse\getmouse.dsw
?????文件????????1346??2013-12-14?17:05??getmouse\getmouse.h
?????文件???????41984??2013-12-14?18:17??getmouse\getmouse.ncb
?????文件???????48640??2013-12-14?18:17??getmouse\getmouse.opt
?????文件?????????978??2013-12-14?18:17??getmouse\getmouse.plg
?????文件????????5264??2013-12-14?18:10??getmouse\getmouse.rc
?????文件????????5013??2013-12-14?18:17??getmouse\getmouseDlg.cpp
?????文件????????1380??2013-12-14?18:01??getmouse\getmouseDlg.h
?????文件????????3615??2013-12-14?17:05??getmouse\ReadMe.txt
?????目錄???????????0??2013-12-14?17:05??getmouse\res\
?????文件?????????732??2013-12-14?18:01??getmouse\resource.h
?????文件????????1078??2013-12-14?17:05??getmouse\res\getmouse.ico
?????文件?????????400??2013-12-14?17:05??getmouse\res\getmouse.rc2
?????文件?????????210??2013-12-14?17:05??getmouse\StdAfx.cpp
?????文件????????1054??2013-12-14?17:05??getmouse\StdAfx.h

評論

共有 條評論

相關資源