VC打开多种图像格式bmpjpggiftifraw


VC6.0结合MFC,打开bmp、jpg、gif、tif、raw格式的图像。
资源截图
代码片段和文件信息
// ChildFrm.cpp : implementation of the CChildframe class
//

#include “stdafx.h“
#include “MyIMG.h“

#include “ChildFrm.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CChildframe

IMPLEMENT_DYNCREATE(CChildframe CMDIChildWnd)

BEGIN_MESSAGE_MAP(CChildframe CMDIChildWnd)
//{{AFX_MSG_MAP(CChildframe)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CChildframe construction/destruction

CChildframe::CChildframe()
{
// TODO: add member initialization code here

}

CChildframe::~CChildframe()
{
}

BOOL CChildframe::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
//  the CREATESTRUCT cs

if( !CMDIChildWnd::PreCreateWindow(cs) )
return FALSE;

return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CChildframe diagnostics

#ifdef _DEBUG
void CChildframe::AssertValid() const
{
CMDIChildWnd::AssertValid();
}

void CChildframe::Dump(CDumpContext& dc) const
{
CMDIChildWnd::Dump(dc);
}

#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CChildframe message handlers

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-11-04 10:10  MyIMG
     文件        1532  2014-10-29 16:07  MyIMGChildFrm.cpp
     文件        1397  2014-10-29 16:07  MyIMGChildFrm.h
     文件       14512  2001-11-06 00:53  MyIMGCqOctree.cpp
     目录           0  2014-11-04 10:10  MyIMGDebug
     文件       16348  2014-10-30 12:10  MyIMGDebugChildFrm.obj
     文件       14940  2014-10-30 12:14  MyIMGDebugCqOctree.obj
     文件      133139  2014-10-30 12:14  MyIMGDebugDib.obj
     文件      174206  2014-10-30 12:14  MyIMGDebugdibapi.obj
     文件       58287  2014-10-30 12:50  MyIMGDebugGif.obj
     文件       60794  2014-10-30 12:14  MyIMGDebugIP.obj
     文件       28419  2014-10-30 12:48  MyIMGDebugJpeg.obj
     文件       19115  2014-10-30 12:10  MyIMGDebugMainFrm.obj
     文件      782377  2014-11-04 10:10  MyIMGDebugMyIMG.exe
     文件      833544  2014-11-04 10:10  MyIMGDebugMyIMG.ilk
     文件       29009  2014-11-02 09:58  MyIMGDebugMyIMG.obj
     文件     5498520  2014-10-29 16:08  MyIMGDebugMyIMG.pch
     文件      918528  2014-11-04 10:10  MyIMGDebugMyIMG.pdb
     文件        8232  2014-10-30 17:04  MyIMGDebugMyIMG.res
     文件       33642  2014-11-04 10:10  MyIMGDebugMyIMGDoc.obj
     文件       23109  2014-11-02 09:58  MyIMGDebugMyIMGView.obj
     文件       25600  2014-11-02 21:10  MyIMGDebugMyIMGView.pdb
     文件       10121  2014-10-30 17:04  MyIMGDebugRawOpen.obj
     文件      105735  2014-10-29 16:08  MyIMGDebugStdAfx.obj
     文件       32176  2014-11-02 16:45  MyIMGDebugTif.obj
     文件      279552  2014-11-04 10:10  MyIMGDebugvc60.idb
     文件      413696  2014-11-04 10:10  MyIMGDebugvc60.pdb
     文件       53275  2003-07-25 17:15  MyIMGDib.cpp
     文件        6106  2003-07-25 17:14  MyIMGDib.h
     文件      196309  2001-10-17 00:16  MyIMGdibapi.cpp
     文件        7929  2001-11-16 22:34  MyIMGdibapi.h
............此处省略54个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)