VC++窗口和控件自适应屏幕尺寸

上传者: wuchengwei19870827 | 上传时间: 2021-04-13 22:12:53 | 文件大小: 16.85MB | 文件类型: RAR
自定义类CSelfResizeWindow实现窗口和控件的自适应调整,根据屏幕尺寸调整大小。实现的非常简单,而且通用性很好,对于控件和窗体都有好用,只要继承这个自定义类,并在你的对话框类的OnInitDialog()函数和OnSize()函数中各加入一行代码就全部OK啦!

文件下载

资源详情

[{"title":"( 34 个子文件 16.85MB ) VC++窗口和控件自适应屏幕尺寸","children":[{"title":"VC++窗口和控件自适应屏幕尺寸","children":[{"title":"说明.txt <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"SelfResizing","children":[{"title":"SelfResizing.suo <span style='color:#111;'> 15.00KB </span>","children":null,"spread":false},{"title":"SelfResizing.ncb <span style='color:#111;'> 24.05MB </span>","children":null,"spread":false},{"title":"SelfResizing.sln <span style='color:#111;'> 902B </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"SelfResizing.exe <span style='color:#111;'> 91.00KB </span>","children":null,"spread":false},{"title":"SelfResizing.pdb <span style='color:#111;'> 4.71MB </span>","children":null,"spread":false}],"spread":true},{"title":"SelfResizing","children":[{"title":"resource.h <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"SelfResizingDlg.cpp <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"SelfResizing.vcproj.EFDD10259FB44A0.Administrator.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"SelfResizing.cpp <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"SelfResizing.vcproj <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"SelfResizing.rc2 <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"SelfResizing.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"SelfResizing.h <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"vc90.pdb <span style='color:#111;'> 3.61MB </span>","children":null,"spread":false},{"title":"vc90.idb <span style='color:#111;'> 1.06MB </span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'> 8.28KB </span>","children":null,"spread":false},{"title":"mt.dep <span style='color:#111;'> 67B </span>","children":null,"spread":false},{"title":"SelfResizing.pch <span style='color:#111;'> 37.19MB </span>","children":null,"spread":false},{"title":"SelfResizing.exe.intermediate.manifest <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":"SelfResizing.obj <span style='color:#111;'> 147.34KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 4.34MB </span>","children":null,"spread":false},{"title":"SelfResizeWindow.obj <span style='color:#111;'> 217.78KB </span>","children":null,"spread":false},{"title":"SelfResizingDlg.obj <span style='color:#111;'> 164.56KB </span>","children":null,"spread":false},{"title":"SelfResizing.res <span style='color:#111;'> 68.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"SelfResizeWindow.cpp <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"SelfResizing.rc <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"SelfResizingDlg.h <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"SelfResizing.aps <span style='color:#111;'> 103.19KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"SelfResizeWindow.h <span style='color:#111;'> 593B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 蝉鸣如海 :
    很不错,我在此基础上增加了点东西,使其初始化适应屏幕大小
    2019-06-11
  • tbgqcc :
    这个实例很好,能用,学习下.
    2018-09-27
  • fanhongjun2004 :
    非常好的资源
    2018-04-13
  • MM123Q :
    学习下,有用,谢谢
    2018-03-12
  • thinkbonzpu :
    还不错的,简单实用
    2018-01-22
  • tianxiezhi :
    慕名而来,希望可以,谢谢!
    2017-12-31
  • ppaudio :
    无法下载资源
    2017-12-18
  • liuxiaofeng_1 :
    还不错的,简单实用
    2017-11-27
  • 银翼芋头 :
    非常实用,对我非常有用
    2017-08-31
  • 我不姓周不唱朋友 :
    有一定参考价值,虽然最后用了别的方法解决了
    2017-08-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明