资源简介

我也是参考别人的程序写的,参考链接如下:http://blog.csdn.net/a1069962325/article/details/54379424 ,实现的是滚动名字。我改成了滚动图片。

资源截图

代码片段和文件信息


// LuckyDraw_BSC_V1.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “LuckyDraw_BSC_V1.h“
#include “LuckyDraw_BSC_V1Dlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CLuckyDraw_BSC_V1App

BEGIN_MESSAGE_MAP(CLuckyDraw_BSC_V1App CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()


// CLuckyDraw_BSC_V1App construction

CLuckyDraw_BSC_V1App::CLuckyDraw_BSC_V1App()
{
// 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 CLuckyDraw_BSC_V1App object

CLuckyDraw_BSC_V1App theApp;


// CLuckyDraw_BSC_V1App initialization

BOOL CLuckyDraw_BSC_V1App::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“));

CLuckyDraw_BSC_V1Dlg 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;
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      90580  2018-01-30 19:22  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1.aps

     文件       2599  2018-01-25 13:50  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1.cpp

     文件        565  2018-01-25 13:50  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1.h

     文件       9578  2018-01-30 16:51  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1.rc

     文件       6221  2018-01-30 15:21  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1.vcxproj

     文件       2277  2018-01-25 14:23  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1.vcxproj.filters

     文件        143  2018-01-25 13:50  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1.vcxproj.user

     文件       9773  2018-02-01 19:51  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1Dlg.cpp

     文件       1698  2018-02-01 19:52  LuckyDraw_V1.2\LuckyDraw_BSC_V1\LuckyDraw_BSC_V1Dlg.h

     文件       4607  2018-01-25 13:50  LuckyDraw_V1.2\LuckyDraw_BSC_V1\ReadMe.txt

     文件      67777  2009-08-31 02:31  LuckyDraw_V1.2\LuckyDraw_BSC_V1\res\LuckyDraw_BSC_V1.ico

     文件        816  2018-01-25 13:50  LuckyDraw_V1.2\LuckyDraw_BSC_V1\res\LuckyDraw_BSC_V1.rc2

     文件       1286  2018-01-25 13:52  LuckyDraw_V1.2\LuckyDraw_BSC_V1\resource.h

     文件        218  2018-01-25 13:50  LuckyDraw_V1.2\LuckyDraw_BSC_V1\stdafx.cpp

     文件       1807  2018-01-25 13:50  LuckyDraw_V1.2\LuckyDraw_BSC_V1\stdafx.h

     文件        314  2018-01-25 13:50  LuckyDraw_V1.2\LuckyDraw_BSC_V1\targetver.h

     文件       2317  2017-01-12 01:29  LuckyDraw_V1.2\LuckyDraw_BSC_V1\ThreadEx.cpp

     文件       1079  2017-01-12 01:29  LuckyDraw_V1.2\LuckyDraw_BSC_V1\ThreadEx.h

     文件       1000  2018-01-30 16:49  LuckyDraw_V1.2\LuckyDraw_BSC_V1.sln

    ..A..H.     54784  2018-02-01 19:57  LuckyDraw_V1.2\LuckyDraw_BSC_V1.v12.suo

     文件    2013184  2018-02-01 19:53  LuckyDraw_V1.2\Release\LuckyDraw_BSC_V1.2.exe

     文件         52  2018-02-01 19:53  LuckyDraw_V1.2\Release\Res\number.txt

     文件     209062  2018-01-24 19:21  LuckyDraw_V1.2\Release\Res\Test\background.jpg

     文件      39828  2011-01-03 19:40  LuckyDraw_V1.2\Release\Res\Test\who.jpg

     文件      42909  2018-01-25 14:05  LuckyDraw_V1.2\Release\Res\Test\图片1.jpg

     文件     118145  2018-01-25 13:58  LuckyDraw_V1.2\Release\Res\Test\图片10.jpg

     文件      12583  2018-01-25 14:03  LuckyDraw_V1.2\Release\Res\Test\图片2.jpg

     文件     145286  2018-01-25 14:06  LuckyDraw_V1.2\Release\Res\Test\图片3.jpg

     文件      50451  2018-01-25 14:05  LuckyDraw_V1.2\Release\Res\Test\图片4.jpg

     文件     116984  2018-01-25 14:04  LuckyDraw_V1.2\Release\Res\Test\图片5.jpg

............此处省略13个文件信息

评论

共有 条评论