热搜关键词: 数字信号处理RTOSC语言Linux射频电路

zip

Displaying a large bitmap file on a dialog box, in its original size, is quite difficult in the VC++

  • 1星
  • 2014-03-05
  • 31.23KB
  • 需要2积分
  • 0次下载
标签: large

large

file

large

dialog

dialog

box

dialog

original

dialog

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

展开预览

猜您喜欢

评论

登录/注册

积分规则

意见反馈

求资源

回顶部

推荐内容

热门活动

热门器件

随便看看

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版 版权声明

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved
×