首页 开发技术 C++     /    VC/MFC布局类

VC/MFC布局类

上传者: zml086 | 上传时间:2024/11/12 18:46:11 | 文件大小:80KB | 文件类型:rar
VC/MFC布局类
已经厌烦在WM_SIZE里面写一堆布局计算的代码了么,或许这份代码可以帮助你。
这是一些用C++写的布局类,包含Border,Box,Flow,Grid,Stack五种布局,它们可以嵌套,通过结合Margin可以完成一些常见的界面布局效果,如居中,拉伸,居左,居右等。
各个对象布局的机制很简单(主要包括calc和adjust两个阶段),因此复杂的布局效果得要自己扩展。
另外,所有对象均自己管理内存,通过各个类的create函数来创建对象。
资源2分就当是鼓励吧。
本软件ID:7207661

文件下载

资源详情

[{"title":"(27个子文件80KB)VC/MFC布局类","children":[{"title":"AboutDlg.h <span style='color:#111;'>954B</span>","children":null,"spread":false},{"title":"MainDlg.cpp <span style='color:#111;'>4.39KB</span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>283B</span>","children":null,"spread":false},{"title":"AboutDlg.cpp <span style='color:#111;'>508B</span>","children":null,"spread":false},{"title":"res","children":[{"title":"Layout.ico <span style='color:#111;'>1.05KB</span>","children":null,"spread":false}],"spread":true},{"title":"stdafx.h <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"Layout.vcxproj <span style='color:#111;'>7.03KB</span>","children":null,"spread":false},{"title":"Layout.rc <span style='color:#111;'>8.75KB</span>","children":null,"spread":false},{"title":"Layout.vcxproj.user <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"DEMO.exe <span style='color:#111;'>126.50KB</span>","children":null,"spread":false},{"title":"Layout.h <span style='color:#111;'>13B</span>","children":null,"spread":false},{"title":"engine","children":[{"title":"LayoutBase.h <span style='color:#111;'>12.46KB</span>","children":null,"spread":false},{"title":"FlowLayout.h <span style='color:#111;'>3.51KB</span>","children":null,"spread":false},{"title":"GridLayout.cpp <span style='color:#111;'>10.30KB</span>","children":null,"spread":false},{"title":"BorderLayout.cpp <span style='color:#111;'>574B</span>","children":null,"spread":false},{"title":"StackLayout.cpp <span style='color:#111;'>4.59KB</span>","children":null,"spread":false},{"title":"StackLayout.h <span style='color:#111;'>3.70KB</span>","children":null,"spread":false},{"title":"BoxLayout.h <span style='color:#111;'>3.13KB</span>","children":null,"spread":false},{"title":"LayoutBase.cpp <span style='color:#111;'>3.08KB</span>","children":null,"spread":false},{"title":"BorderLayout.h <span style='color:#111;'>4.20KB</span>","children":null,"spread":false},{"title":"FlowLayout.cpp <span style='color:#111;'>3.94KB</span>","children":null,"spread":false},{"title":"BoxLayout.cpp <span style='color:#111;'>511B</span>","children":null,"spread":false},{"title":"GridLayout.h <span style='color:#111;'>8.18KB</span>","children":null,"spread":false}],"spread":false},{"title":"Layout.vcxproj.filters <span style='color:#111;'>3.38KB</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>1.06KB</span>","children":null,"spread":false},{"title":"Layout.cpp <span style='color:#111;'>1.33KB</span>","children":null,"spread":false},{"title":"MainDlg.h <span style='color:#111;'>1.69KB</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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