登录
首页 » 文档处理 » Displaying a large bitmap file on a dialog box, in its original size, is quite d

Displaying a large bitmap file on a dialog box, in its original size, is quite d

于 2022-05-18 发布 文件大小:31.47 kB
0 199
下载积分: 2 下载次数: 1

代码说明:

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- 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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带件中有4个测试迷宫路径的 件test1~...
    输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~4.dd。请将这些文件拷贝到TC当前目录下,或者在载 入时写明完全路径。由于屏幕大小的限制,当用户自己输入迷宫 时一定要注意:迷宫大小是有限制的,不小于4*3,不大于30*20。 否则会出现错误信息。输入开始时全是墙,用上下左右键移动, 用Del键删除墙,形成通路,用Enter键添加墙。输入结束时可以 将迷宫保存下来,以dd为扩展名。输入完毕时用F9键来得到结果, 找到路径时,屏幕下方会出现Path found,否则出现Path not found。 程序经Turbo C 2.0编译调试成功。运行时不用添加任何运行库。 不可以在VC上编译。 下载DOS版和windows版的迷宫游戏全部代码-importation of a maze of arbitrary size, with a stack get out of the maze of trails and on the screen. Program : can achieve and preserve the printed maze maze, the accompanying documents were four test maze of trails to document test1 4.dd. I would be grateful if those files are copied to the TC current directory, or in the state when fully contained path. Due to restrictions on the size of the screen when the user input labyrinth must pay attention to : the size of the maze is a restriction, not less than 4* 3, not more than 30* 20. Otherwise there will be a wrong message. At the beginning of the importation of
    2022-01-25 17:22:05下载
    积分:1
  • 这是ITU
    这是ITU-T的G.726的标准资料-This is the ITU-T G.726 standard information
    2022-02-03 22:53:34下载
    积分:1
  • assembly language programming essence of the article
    汇编语言程序设计精华文章-assembly language programming essence of the article
    2022-08-07 08:23:05下载
    积分:1
  • 名字是《JavaScript从入门到精通》。但是其实是JavaScript的一些比较简单实用的例子,对比较熟悉JavaScript的人估计没有什么用,但是对新...
    名字是《JavaScript从入门到精通》。但是其实是JavaScript的一些比较简单实用的例子,对比较熟悉JavaScript的人估计没有什么用处,但是对新手学习JavaScript还是很有好处的,能够很形象的教你一些简单实用的JavaScript例子。特别注明:新手级别使用。-name is the "JavaScript from entry to the proficient." But the fact is JavaScript some of the more simple and practical examples of the more familiar with JavaScript estimate of no use, but for newcomers to learn JavaScript or very good, very image can teach you some simple and practical example of the JavaScript. Specified : novice-level use.
    2022-02-07 14:01:24下载
    积分:1
  • 有关系统设计和分析
    有关系统设计和分析-the system design and analysis
    2022-08-19 23:55:35下载
    积分:1
  • 改变VC++应用程序窗口的标题
    改变VC++应用程序窗口的标题-change VC application window title
    2022-03-22 06:49:57下载
    积分:1
  • 此程序为数学变换问题的源程序,其具有较高的精度,供大家参考。...
    此程序为数学变换问题的源程序,其具有较高的精度,供大家参考。-This procedure for the mathematical transformation of the source problem, which has high accuracy, for your reference.
    2023-09-07 08:15:03下载
    积分:1
  • user service manual for thomson tv
    user service manual for thomson tv
    2023-08-14 18:00:03下载
    积分:1
  • /* TC 2.0 source code, the call before loading the mouse* /
    /*TC 2.0源码,调用前先加载鼠标*/-/* TC 2.0 source code, the call before loading the mouse* /
    2022-08-05 17:04:28下载
    积分:1
  • 相似度的计算
    是常用的辨别两个文档的相似度,能很好地分析出两个文档的相同之处,用了编辑距离算法,速度比较快,适合平常的文档分析。
    2022-08-20 16:37:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载