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

  • 大小: 34.03MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-24
  • 語言: C/C++
  • 標簽: MFC??光標??熱區設置??

資源簡介

這是一個工程實例,將實現為對話框中的控件定義光標熱區,即當鼠標光標位于某個控件上時,改變鼠標的顯示光標,并給出該控件的描述性信息。

資源截圖

代碼片段和文件信息


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

#include?“stdafx.h“
#include?“CursorHotDemo.h“
#include?“CursorHotDemoDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif


//?CCursorHotDemoApp

BEGIN_MESSAGE_MAP(CCursorHotDemoApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()


//?CCursorHotDemoApp?construction

CCursorHotDemoApp::CCursorHotDemoApp()
{
//?support?Restart?Manager
m_dwRestartManagerSupportFlags?=?AFX_RESTART_MANAGER_SUPPORT_RESTART;

//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}


//?The?one?and?only?CCursorHotDemoApp?object

CCursorHotDemoApp?theApp;


//?CCursorHotDemoApp?initialization

BOOL?CCursorHotDemoApp::InitInstance()
{
//?InitCommonControlsEx()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?Set?this?to?include?all?the?common?control?classes?you?want?to?use
//?in?your?application.
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();


AfxEnableControlContainer();

//?Create?the?shell?manager?in?case?the?dialog?contains
//?any?shell?tree?view?or?shell?list?view?controls.
CShellManager?*pShellManager?=?new?CShellManager;

//?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
//?Change?the?registry?key?under?which?our?settings?are?stored
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

CCursorHotDemoDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?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
}

//?Delete?the?shell?manager?created?above.
if?(pShellManager?!=?NULL)
{
delete?pShellManager;
}

//?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??2012-10-03?10:40??CursorHotDemo\
?????目錄???????????0??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\
?????文件??????110700??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\CursorHotDemo.aps
?????文件????????2560??2012-10-02?22:07??CursorHotDemo\CursorHotDemo\CursorHotDemo.cpp
?????文件?????????547??2012-10-02?21:29??CursorHotDemo\CursorHotDemo\CursorHotDemo.h
?????文件???????11824??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\CursorHotDemo.rc
?????文件????????6009??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\CursorHotDemo.vcxproj
?????文件????????2155??2012-10-02?22:14??CursorHotDemo\CursorHotDemo\CursorHotDemo.vcxproj.filters
?????文件?????????143??2012-10-02?21:29??CursorHotDemo\CursorHotDemo\CursorHotDemo.vcxproj.user
?????文件????????4693??2012-10-03?10:28??CursorHotDemo\CursorHotDemo\CursorHotDemoDlg.cpp
?????文件?????????723??2012-10-03?10:25??CursorHotDemo\CursorHotDemo\CursorHotDemoDlg.h
?????目錄???????????0??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\
?????文件???????51580??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\Debug\CL.read.1.tlog
?????文件????????2482??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\Debug\CL.write.1.tlog
?????文件?????????667??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo.exe.embed.manifest
?????文件?????????732??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo.exe.embed.manifest.res
?????文件?????????381??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo.exe.intermediate.manifest
?????文件??????????96??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo.lastbuildstate
?????文件????????2288??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo.log
?????文件???????29851??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo.obj
?????文件????33619968??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo.pch
?????文件???????74200??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo.res
?????文件???????43583??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemoDlg.obj
?????文件?????????216??2012-10-03?10:05??CursorHotDemo\CursorHotDemo\Debug\CursorHotDemo_manifest.rc
?????文件????????2728??2012-10-03?10:29??CursorHotDemo\CursorHotDemo\Debug\cl.command.1.tlog
?????文件???????????2??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\link-cvtres.read.1.tlog
?????文件???????????2??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\link-cvtres.write.1.tlog
?????文件????????2460??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\link.command.1.tlog
?????文件????????5764??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\link.read.1.tlog
?????文件????????1930??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\link.write.1.tlog
?????文件?????????728??2012-10-03?10:32??CursorHotDemo\CursorHotDemo\Debug\mt.command.1.tlog
............此處省略26個文件信息

評論

共有 條評論