切水果的鼠标跟随特效
本程序主要是展示切水果中鼠标跟随特效,仅仅提供参考,请大家多提意见!环境是vc6.0。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6279234 2012-07-13 09:21 FruitDebugFruit.exe
文件 5232564 2012-06-29 13:23 FruitFruit.aps
文件 2211 2012-06-29 17:18 FruitFruit.clw
文件 4191 2012-06-26 14:10 FruitFruit.cpp
文件 4860 2012-06-29 17:18 FruitFruit.dsp
文件 516 2012-06-26 14:10 FruitFruit.dsw
文件 1345 2012-06-26 14:10 FruitFruit.h
文件 82944 2012-07-13 09:44 FruitFruit.ncb
文件 54784 2012-07-13 09:44 FruitFruit.opt
文件 1149 2012-07-13 09:21 FruitFruit.plg
文件 11939 2012-06-29 13:23 FruitFruit.rc
文件 1722 2012-06-26 14:10 FruitFruitDoc.cpp
文件 1464 2012-06-26 14:10 FruitFruitDoc.h
文件 6974 2012-07-13 09:21 FruitFruitView.cpp
文件 2680 2012-06-29 13:25 FruitFruitView.h
文件 2701 2012-06-27 14:57 FruitMainFrm.cpp
文件 1581 2012-06-26 14:10 FruitMainFrm.h
文件 4287 2012-06-26 14:10 FruitReadMe.txt
文件 3872946 2012-06-26 15:14 Fruit
esBKfruit.bmp
文件 1078 2012-06-26 14:10 Fruit
esFruit.ico
文件 397 2012-06-26 14:10 Fruit
esFruit.rc2
文件 1078 2012-06-26 14:10 Fruit
esFruitDoc.ico
文件 580854 2012-06-29 10:58 Fruit
esTarget.bmp
文件 580854 2012-06-29 11:04 Fruit
esTarget2.bmp
文件 1078 2012-06-26 14:10 Fruit
esToolbar.bmp
文件 84054 2012-06-29 12:39 Fruit
esx1.bmp
文件 69174 2012-06-29 13:23 Fruit
esx7.bmp
文件 817 2012-06-29 13:23 Fruit
esource.h
文件 207 2012-06-26 14:10 FruitStdAfx.cpp
文件 1054 2012-06-26 14:10 FruitStdAfx.h
............此处省略7个文件信息
// Fruit.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Fruit.h“
#include “MainFrm.h“
#include “FruitDoc.h“
#include “FruitView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFruitApp
BEGIN_MESSAGE_MAP(CFruitApp CWinApp)
//{{AFX_MSG_MAP(CFruitApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFruitApp construction
CFruitApp::CFruitApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CFruitApp object
CFruitApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CFruitApp initialization
BOOL CFruitApp::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
// 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“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CFruitDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CFruitView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only window has been initialized so show and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
}
/////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6279234 2012-07-13 09:21 FruitDebugFruit.exe
文件 5232564 2012-06-29 13:23 FruitFruit.aps
文件 2211 2012-06-29 17:18 FruitFruit.clw
文件 4191 2012-06-26 14:10 FruitFruit.cpp
文件 4860 2012-06-29 17:18 FruitFruit.dsp
文件 516 2012-06-26 14:10 FruitFruit.dsw
文件 1345 2012-06-26 14:10 FruitFruit.h
文件 82944 2012-07-13 09:44 FruitFruit.ncb
文件 54784 2012-07-13 09:44 FruitFruit.opt
文件 1149 2012-07-13 09:21 FruitFruit.plg
文件 11939 2012-06-29 13:23 FruitFruit.rc
文件 1722 2012-06-26 14:10 FruitFruitDoc.cpp
文件 1464 2012-06-26 14:10 FruitFruitDoc.h
文件 6974 2012-07-13 09:21 FruitFruitView.cpp
文件 2680 2012-06-29 13:25 FruitFruitView.h
文件 2701 2012-06-27 14:57 FruitMainFrm.cpp
文件 1581 2012-06-26 14:10 FruitMainFrm.h
文件 4287 2012-06-26 14:10 FruitReadMe.txt
文件 3872946 2012-06-26 15:14 Fruit
esBKfruit.bmp
文件 1078 2012-06-26 14:10 Fruit
esFruit.ico
文件 397 2012-06-26 14:10 Fruit
esFruit.rc2
文件 1078 2012-06-26 14:10 Fruit
esFruitDoc.ico
文件 580854 2012-06-29 10:58 Fruit
esTarget.bmp
文件 580854 2012-06-29 11:04 Fruit
esTarget2.bmp
文件 1078 2012-06-26 14:10 Fruit
esToolbar.bmp
文件 84054 2012-06-29 12:39 Fruit
esx1.bmp
文件 69174 2012-06-29 13:23 Fruit
esx7.bmp
文件 817 2012-06-29 13:23 Fruit
esource.h
文件 207 2012-06-26 14:10 FruitStdAfx.cpp
文件 1054 2012-06-26 14:10 FruitStdAfx.h
............此处省略7个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)