首页 开发技术 C++     /    MFCUI控件布局自动调整

MFCUI控件布局自动调整

上传者: q97082645 | 上传时间:2023/11/21 9:49:25 | 文件大小:940KB | 文件类型:zip
MFCUI控件布局自动调整
含源代码含demo当MFC对话框尺寸自动变化时自动调整所有控件的新位置(每个控件的位置有接口设置)其实原理类似QT每个布局管理由垂直容器和水平容器装载控件具体详见实现文件注释很详细

文件下载

资源详情

[{"title":"(26个子文件940KB)MFCUI控件布局自动调整","children":[{"title":"LayoutDemo","children":[{"title":"LayoutDemo.rc <span style='color:#111;'>5.72KB</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>1.07KB</span>","children":null,"spread":false},{"title":"layout","children":[{"title":"OleDropTargetEx.h <span style='color:#111;'>1.95KB</span>","children":null,"spread":false},{"title":"types.hpp <span style='color:#111;'>1.68KB</span>","children":null,"spread":false},{"title":"uilayout.cpp <span style='color:#111;'>17.46KB</span>","children":null,"spread":false},{"title":"uilayout.h <span style='color:#111;'>4.77KB</span>","children":null,"spread":false},{"title":"smartptr.hpp <span style='color:#111;'>4.57KB</span>","children":null,"spread":false},{"title":"signal.hpp <span style='color:#111;'>8.21KB</span>","children":null,"spread":false},{"title":"OleDropTargetEx.cpp <span style='color:#111;'>4.22KB</span>","children":null,"spread":false},{"title":"guibase.hpp <span style='color:#111;'>892B</span>","children":null,"spread":false},{"title":"container.h <span style='color:#111;'>10.33KB</span>","children":null,"spread":false},{"title":"layoutwnd.cpp <span style='color:#111;'>1.27KB</span>","children":null,"spread":false},{"title":"layoutwnd.h <span style='color:#111;'>5.50KB</span>","children":null,"spread":false},{"title":"container.cpp <span style='color:#111;'>13.77KB</span>","children":null,"spread":false},{"title":"memory.hpp <span style='color:#111;'>620B</span>","children":null,"spread":false}],"spread":false},{"title":"LayoutDemo.cpp <span style='color:#111;'>1.67KB</span>","children":null,"spread":false},{"title":"LayoutDemo.exe <span style='color:#111;'>1.67MB</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>1.81KB</span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"LayoutDemo.h <span style='color:#111;'>469B</span>","children":null,"spread":false},{"title":"LayoutDemo.vcproj <span style='color:#111;'>6.42KB</span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"LayoutDemoDlg.cpp <span style='color:#111;'>5.44KB</span>","children":null,"spread":false},{"title":"LayoutDemoDlg.h <span style='color:#111;'>982B</span>","children":null,"spread":false},{"title":"res","children":[{"title":"LayoutDemo.rc2 <span style='color:#111;'>366B</span>","children":null,"spread":false},{"title":"LayoutDemo.ico <span style='color:#111;'>66.19KB</span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • qq_35354501:
    小白一个,添加到项目中或添加到layout筛选器中,无法打开包括文件:“layout\layoutwnd.h”2018-01-20
  • lq200960:
    谢谢楼主,可以学习一阵子了2017-12-18
  • summer1074:
    可以借鉴,但不是我想要的,最后还是用easyresize实现的2017-11-23
  • 梦中煮鱼:
    最后还是使用本地类实现了,不过还是感谢2017-02-23
  • IcebergKevin:
    还不错大家可以用用看样子是不错2016-08-12

免责申明

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