• PUDN用户
    了解作者
  • C++
    开发工具
  • 31KB
    文件大小
  • zip
    文件格式
  • 1
    收藏次数
  • 10 积分
    下载积分
  • 214
    下载次数
  • 2004-06-29 14:40
    上传日期
Displaying a large bitmap file on a dialog box, in its original size, is quite difficult in the VC++ environment. However, it is possible to display a large bitmap to a predefined area of the dialog by using the StretchBlt( ) function.The major disadvantage of this is that the clarity of the image will be lost. Check out this article for displaying large bitmaps into the desired area of your dialog box in its original size with a scrolling technique used to show the entire bitmap. 滚动显示位图 在VC++环境下,在一个对话框中显示一个原始尺寸的大小的位图文件相当是困难的。然而,通过使用 StretchBlt()函数一个给定的区域显示一个大的位图是可能的。主要的缺点是图像将会失真。看了这篇通过卷动技术显示整个位图技术的文章,你将能够以它的原始尺寸在给定对话框的区域内显示一个大位图。 来源: http://www.codeguru.com/bitmap/ScrollBitmap.html
ScrollBitmap_demo.zip
  • ScrollBitmap
  • res
  • ScrollBitmap.ico
    1.1KB
  • Key manager.ico
    3.7KB
  • ScrollBitmap.rc2
    404B
  • bmp.bmp
    1.8KB
  • Debug
  • ScrollBitmap.exe
    120.1KB
  • ScrollBitmap.dsw
    591B
  • ScrollBitmap.rc
    7KB
  • ScrollBitmap.h
    1.4KB
  • commondialog.cpp
    11KB
  • ScrollBitmapDlg.h
    2.7KB
  • StdAfx.cpp
    214B
  • ReadMe.txt
    3.6KB
  • StdAfx.h
    1KB
  • commondialog.h
    3.6KB
  • ScrollBitmap.plg
    1.8KB
  • ScrollBitmapDlg.cpp
    9KB
  • Resource.h
    874B
  • ScrollBitmap.dsp
    4.8KB
  • ScrollBitmap.clw
    1.9KB
  • ScrollBitmap.cpp
    2.1KB
  • www.pudn.com.txt
    218B
内容介绍
======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : ScrollBitmap ======================================================================== AppWizard has created this ScrollBitmap application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your ScrollBitmap application. ScrollBitmap.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. ScrollBitmap.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CScrollBitmapApp application class. ScrollBitmap.cpp This is the main application source file that contains the application class CScrollBitmapApp. ScrollBitmap.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. ScrollBitmap.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. res\ScrollBitmap.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file ScrollBitmap.rc. res\ScrollBitmap.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. ///////////////////////////////////////////////////////////////////////////// AppWizard creates one dialog class: ScrollBitmapDlg.h, ScrollBitmapDlg.cpp - the dialog These files contain your CScrollBitmapDlg class. This class defines the behavior of your application's main dialog. The dialog's template is in ScrollBitmap.rc, which can be edited in Microsoft Visual C++. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named ScrollBitmap.pch and a precompiled types file named StdAfx.obj. Resource.h This is the standard header file, which defines new resource IDs. Microsoft Visual C++ reads and updates this file. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. If your application uses MFC in a shared DLL, and your application is in a language other than the operating system's current language, you will need to copy the corresponding localized resources MFC42XXX.DLL from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. For example, MFC42DEU.DLL contains resources translated to German.) If you don't do this, some of the UI elements of your application will remain in the language of the operating system. /////////////////////////////////////////////////////////////////////////////
评论
    相关推荐
    • DES.rar
      DES加密解密程序,可实现断块处理,是密码课的一个课程设计
    • DES20160106.rar
      编辑框数据获取,单DES、3DES计算及数据输出显示,用于数据加密测试等。
    • 基于DES的MAC
      基于DES的MAC算法,定长输入,定长输出,下载即可使用
    • DES文件加密 java
      使用DES算法实现文件加密,加密的数据可读取文件。有图形界面,简单易操作。
    • DES加密解密
      C++写的DES加密解密对话框程序
    • DES加密解密算法
      实现DES加密解密算法,对话框界面,清楚醒目!希望大家支持!
    • DES加解密 MFC
      DES加解密 MFC实现 还用控制台下的代码
    • C++ DES加密解密
      C++ DES加密解密 封装成类了 此代码是测试工具,实现字符串加密解密/文件加密解密。KEY可使用2个 支持中文。 VS2010运行代码
    • DES加密.zip
      c++和c#同时实现DES加密解密算法 c++和c#同时实现DES加密解密算法 c++和c#同时实现DES加密解密算法
    • MFC对话框显示图片
      个可以用于在对话框上显示各种主流类型图片 (如 BMP, GIF, JPEG...) 的MFC控件.