资源简介
jpeg格式图片的读取和显示的简单易懂的小程序,对于那些初学者有很大的帮助

代码片段和文件信息
// ShowJPG.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “ShowJPG.h“
#include “ShowJPGDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CShowJPGApp
BEGIN_MESSAGE_MAP(CShowJPGApp CWinApp)
//{{AFX_MSG_MAP(CShowJPGApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CShowJPGApp construction
CShowJPGApp::CShowJPGApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CShowJPGApp object
CShowJPGApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CShowJPGApp initialization
BOOL CShowJPGApp::InitInstance()
{
CoInitialize(NULL);
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
CShowJPGDlg 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.
CoUninitialize();
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 694 2006-04-05 23:57 ShowJPG\ShowJPG.clw
文件 3597 2006-04-05 15:36 ShowJPG\ReadMe.txt
文件 1335 2006-04-05 15:36 ShowJPG\ShowJPG.h
文件 1054 2006-04-05 15:36 ShowJPG\StdAfx.h
文件 209 2006-04-05 15:36 ShowJPG\StdAfx.cpp
文件 4177 2006-04-05 15:36 ShowJPG\ShowJPG.dsp
文件 539 2006-04-05 15:36 ShowJPG\ShowJPG.dsw
文件 58368 2006-04-05 23:57 ShowJPG\ShowJPG.ncb
文件 547 2006-04-05 15:37 ShowJPG\Resource.h
文件 2121 2006-04-05 15:52 ShowJPG\ShowJPG.cpp
文件 1475 2006-04-05 16:25 ShowJPG\ShowJPGDlg.h
文件 399 2006-04-05 15:36 ShowJPG\res\ShowJPG.rc2
文件 1078 2006-04-05 15:36 ShowJPG\res\ShowJPG.ico
目录 0 2006-04-05 21:32 ShowJPG\res
文件 34632 2006-04-05 21:59 ShowJPG\ShowJPG.aps
文件 4415 2006-04-05 21:59 ShowJPG\ShowJPG.rc
文件 5397 2006-04-05 22:06 ShowJPG\ShowJPGDlg.cpp
文件 53760 2006-04-05 23:57 ShowJPG\ShowJPG.opt
目录 0 2006-04-05 21:32 ShowJPG
----------- --------- ---------- ----- ----
174015 20
- 上一篇:Qt界面响应键盘事件
- 下一篇:最新版本linux libc库实现源码
相关资源
- FPGA彩条显示
- uboot到linux logo显示不间断 补丁
- LCD显示温度+串口接收温度.rar
- 基于MFC扩展CListCtrl子项显示图片并叠
- 在大图中查找小图显示位置
- 直观端口查看器,详细显示可疑进程
- 基于c8051f020的AD转换程序及LCD显示程序
- PB做的托盘程序(最小化后在左下角显
- 实时显示钢筋标注面积V0.44
- [免费]msp430f149控制PS2键盘并用1602显示
- 武汉理工大学 单片机课程设计 16*16点
- 51单片机读取温度数据存储到SD卡中并
- 【单片机】51单片机数码管显示万年历
- 12864滚动显示汉字
- MP3文件ID3v2ID3v2APEv2标签读取
- 25.数码管显示0-99
- 28335写的用spi读取传感器数据并用CA
- 利用译码器74HC595的点阵显示程序和电
- STC12C5A60S2 CH4521 驱动数码管 显示
- 读取串口数据并画实时曲线的VC 程序
- ADC0809数字电压表 LCD1602显示 汇编程序
- php 操作INI文件,读取,设置,ini文件
- 一个读取地震数据seg2或dat格式的程序
- 广东工业大学汇编实验二用表格形式
- 课程设计蔬菜大棚自动控制系统,包
- QT,JPEG解码源代码(已完成)
- 带时间温度显示的室内灯光控制系统
- 图片存储到数据库保存二进制文件并
- 三维地形的仿真显示实现了对地图的
- 制作万年历 日期 农历 温度显示
评论
共有 条评论