资源简介
用VC++开发的雷达模拟程序,主要是创建了一个雷达模拟系统的框架,具体内容自己网上加吧。呵呵(VC++业余爱好者)

代码片段和文件信息
// BarDemo.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “BarDemo.h“
#include “MainFrm.h“
#include“SplashWindow.h“
#include
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBarDemoApp
BEGIN_MESSAGE_MAP(CBarDemoApp CWinApp)
//{{AFX_MSG_MAP(CBarDemoApp)
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
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBarDemoApp construction
CBarDemoApp::CBarDemoApp()
{
// TODO: add construction code here
pView = NULL;
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CBarDemoApp object
CBarDemoApp theApp;
bool g_Mode = false; //工作模式:0工作,1绘图
CCoordinateConvert g_Convert;
GEO_COORDINATE g_SysPosition;
/////////////////////////////////////////////////////////////////////////////
// CBarDemoApp initialization
BOOL CBarDemoApp::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“));
SetDialogBkColor(RGB(100170230));
// To create the main window this code creates a new frame window
// object and then sets it as the application‘s main window object.
/* CSplashWindow *m_pSplashWindow = new CSplashWindow;
m_pSplashWindow->CreateSplash();
m_pSplashWindow->CenterWindow();
m_pSplashWindow->ShowWindow(SW_SHOW);
m_pSplashWindow->UpdateWindow();
//存在问题:无法实时刷新
//播放音频资源方法一
CString sID=“IDR_WAVE1“;
HINSTANCE h=AfxGetInstanceHandle();
HRSRC hr=FindResource(hsID“WAVE“);
HGLOBAL hg=LoadResource(hhr);
LPSTR lp=(LPSTR)LockResource(hg);
////sndPlaySound(lpSND_MEMORY|SND_SYNC);
sndPlaySound(lpSND_MEMORY|SND_SYNC);
FreeResource(hg);
//播放音频资源方法二
// ::PlaySound(“SplashWindow.wav“ NULL SND_ASYNC | SND_FILENAME);
//Sleep(3000);
//销毁启动画面资源
m_pSplashWindow->DestroyWindow(); //Destroy Splash Window
delete m_pSplashWindow;
*/
CMainframe* pframe = new CMainframe;
m_pMainWnd = pframe;
// create and lo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4772024 2011-10-23 19:52 BarDemo\BarDemo.aps
文件 6092 2011-10-23 19:52 BarDemo\BarDemo.clw
文件 4658 2011-10-21 19:20 BarDemo\BarDemo.cpp
文件 7435 2011-10-23 19:52 BarDemo\BarDemo.dsp
文件 522 2011-09-22 16:30 BarDemo\BarDemo.dsw
文件 1457 2011-06-20 22:28 BarDemo\BarDemo.h
文件 1078 2011-10-23 19:52 BarDemo\BarDemo.ico
文件 402432 2011-10-23 19:52 BarDemo\BarDemo.ncb
文件 58880 2011-10-23 19:52 BarDemo\BarDemo.opt
文件 248 2011-10-23 19:52 BarDemo\BarDemo.plg
文件 15600 2011-10-23 19:52 BarDemo\BarDemo.rc
文件 399 2001-09-02 15:20 BarDemo\BarDemo.rc2
文件 88816 2002-03-31 12:20 BarDemo\BCMenu.cpp
文件 16478 2002-03-31 12:20 BarDemo\BCMenu.h
文件 52061 2002-04-17 18:34 BarDemo\BtnST.cpp
文件 8392 2011-06-03 17:10 BarDemo\BtnST.h
文件 4310 2001-09-02 17:23 BarDemo\bug.bmp
文件 17963 2011-10-21 19:27 BarDemo\ChildView.cpp
文件 2461 2011-06-20 22:14 BarDemo\ChildView.h
文件 230706 2008-11-28 23:02 BarDemo\CIBAS.BMP
文件 13292 2001-09-30 19:28 BarDemo\CoolTabCtrl.cpp
文件 3220 2001-09-30 19:25 BarDemo\CoolTabCtrl.h
文件 5475 2011-06-18 12:33 BarDemo\CoordinateConvert.h
文件 13574 2011-06-03 19:49 BarDemo\DigitalClock.cpp
文件 2400 2008-04-29 16:18 BarDemo\DigitalClock.h
文件 36864 2009-12-19 16:19 BarDemo\DllCoordinateConvert.dll
文件 23684 2009-12-19 16:19 BarDemo\DllCoordinateConvert.lib
文件 11193 2011-06-02 17:38 BarDemo\GLFont.cpp
文件 4592 2011-05-29 20:33 BarDemo\GLFont.h
文件 1022 2011-06-03 20:09 BarDemo\InsertDlg.cpp
............此处省略55个文件信息
- 上一篇:wxWidgets初学者导引
- 下一篇:计算机网络课程设计 IP数据报的捕获和解析
相关资源
- VC++ 多线程文件读写操作
- 移木块游戏,可以自编自玩,vc6.0编写
- VC++MFC小游戏实例教程(实例)+MFC类库
- VC++实现CMD命令执行与获得返回信息
- 安卓c语言开发SDL2+opengles
- 交互式计算机图形学 第六版 OpenGL源代
- VC++基于OpenGL模拟的一个3维空间模型
- 基于VC++的SolidWorks二次开发SolidWorks
- 派克变换VC++源码(附文档)
- VC++ 串口
- VC++ 大富翁4_大富翁游戏源码
- VC++ 摄像头视频采集与回放源程序
- 转 VC++ 实现电子邮件(Email)发送
- opengl绘制汽车.cpp
- 基于MFC的VC++仿QQ浏览器源码(雏形)
- VC++ 服务程序编写及安装与卸载
- VC++6.0番茄西红柿VAXvirsual assist X完美破
- 基于改进的fcm算法的图像分割vc++
- VC++6.0 绿色版,免安装,非常好用。
- Microsoft Visual C++ 2005 Redistributable Pack
- VC++MFC课程设计的学生成绩管理系统
- 大智慧365DLL插件设计
- VC++6.0汉化包
- VC++完整商业界面源码(再上传)
- VC++编程技术600个大型项目源码.rar
- VC++实现RSA加密算法
- VC++ 中国象棋经典游戏源代码
- 郁金香VC++游戏辅助视频教程
- C语言进阶源码---基于graphics实现图书
- 摄影测量相对定向VC++程序
评论
共有 条评论