首页 开发技术 C++     /    MFC自定义界面HUI,高效简单,含详细注释和示例

MFC自定义界面HUI,高效简单,含详细注释和示例

上传者: hhhh63 | 上传时间:2023/12/20 8:30:51 | 文件大小:569KB | 文件类型:zip
MFC自定义界面HUI,高效简单,含详细注释和示例
MFC自定义界面HUI,高效简单,含详细注释和示例。
HUI包括基本控件、按钮、标签、编辑框、表格、悬停提示等,可组合出更多功能。
资源占用少,效率高,能在低端机上运行,流畅不闪烁,完全满足工控等各种专业软件实现个性化要求。
本资源是“http://download.csdn.net/detail/hhhh63/6961889”的正式发布版。
包括3个项目,Hui、HuiDemo1和HuiDemo2。
一、Hui项目本项目是DLL项目,包括完整的界面库,使用双缓存,局部重画等技术,性能优异。
为保证在不同的MFC版本中使用,本次上传提供了这部分的源码,一般不要对其改动。
二、HuiDemo1简单的应用示例,包括窗口分割,控制面板和主显示区等,展示控件各方向停靠、自动充满、全屏切换、记忆窗口位置和大小、选项设置和保存注册表等功能,用户可直接以此为基础开发新项目。
如需扩展其它功能,可从HuiDemo2查找复制相应代码。
三、HuiDemo2除HuiDemo1的所有功能外,还包括界面库的全部功能和其它实用扩展功能,左中右三栏式分布,左右固定宽度,中间栏大小可变。
1、左边是属性栏,固定宽度,上边是时钟,下边是鼠标信息,当鼠标移到中间的图像区时显示鼠标位置和图像值。
2、中间是图像区,演示如何动态生存索引图像,从下向上移动,自适应大小,长宽比不变,点右边的调色板按钮改变颜色,点保存按钮把当前图像保存到桌面。
3、右边上边是控制栏,在中间的图像区中画各种几何图形,并计算几何图形包围的图像数据的最大值,最小值和平均值。
4、右边下边是表格演示,显示Windows文件夹下的文件列表,自动充满窗口区,随窗口大小改变显示项数,保证界面美观,最下面是搜索和定位功能。
四、运行环境,VC2010或更高版本。
欢迎大家下载并提意见,本资源版权归作者所有,分享供大家研究学心,不得用于商业用途,如有特殊要求请与本人联系。

文件下载

资源详情

[{"title":"(88个子文件569KB)MFC自定义界面HUI,高效简单,含详细注释和示例","children":[{"title":"HuiDemovs2010","children":[{"title":"HuiDemo.suo <span style='color:#111;'>25.00KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Hui.dll <span style='color:#111;'>331.00KB</span>","children":null,"spread":false},{"title":"HuiDemo2.exe <span style='color:#111;'>365.50KB</span>","children":null,"spread":false},{"title":"ttmpal.pal <span style='color:#111;'>4.04KB</span>","children":null,"spread":false}],"spread":true},{"title":"HuiDemo.sln <span style='color:#111;'>2.06KB</span>","children":null,"spread":false},{"title":"Release","children":[{"title":"ttmpal.pal <span style='color:#111;'>4.04KB</span>","children":null,"spread":false}],"spread":true},{"title":"HuiDemo1","children":[{"title":"HuiDemo1.vcxproj.user <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"HuiDemo1.vcxproj.filters <span style='color:#111;'>2.06KB</span>","children":null,"spread":false},{"title":"MainView.h <span style='color:#111;'>470B</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>4.50KB</span>","children":null,"spread":false},{"title":"DlgOptions.h <span style='color:#111;'>897B</span>","children":null,"spread":false},{"title":"HuiDemo1.vcxproj <span style='color:#111;'>5.89KB</span>","children":null,"spread":false},{"title":"DlgOptions.cpp <span style='color:#111;'>2.52KB</span>","children":null,"spread":false},{"title":"HuiDemo1.h <span style='color:#111;'>1.34KB</span>","children":null,"spread":false},{"title":"MainForm.h <span style='color:#111;'>853B</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>1.59KB</span>","children":null,"spread":false},{"title":"PanlCtr.cpp <span style='color:#111;'>2.67KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"btn64X64.png <span style='color:#111;'>10.28KB</span>","children":null,"spread":false},{"title":"HuiDemo1.rc2 <span style='color:#111;'>672B</span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'>27.94KB</span>","children":null,"spread":false},{"title":"HuiDemo1.ico <span style='color:#111;'>66.19KB</span>","children":null,"spread":false}],"spread":false},{"title":"HuiDemo1.rc <span style='color:#111;'>16.24KB</span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>141B</span>","children":null,"spread":false},{"title":"PanlCtr.h <span style='color:#111;'>358B</span>","children":null,"spread":false},{"title":"MainView.cpp <span style='color:#111;'>1.40KB</span>","children":null,"spread":false},{"title":"MainForm.cpp <span style='color:#111;'>3.38KB</span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'>234B</span>","children":null,"spread":false},{"title":"HuiDemo1.cpp <span style='color:#111;'>8.36KB</span>","children":null,"spread":false}],"spread":false},{"title":"HuiDemo2","children":[{"title":"Personnels.h <span style='color:#111;'>989B</span>","children":null,"spread":false},{"title":"LayerBox1.h <span style='color:#111;'>666B</span>","children":null,"spread":false},{"title":"MainView.h <span style='color:#111;'>547B</span>","children":null,"spread":false},{"title":"LayerBox2.cpp <span style='color:#111;'>7.57KB</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>4.58KB</span>","children":null,"spread":false},{"title":"HuiDemo2.vcxproj.filters <span style='color:#111;'>3.91KB</span>","children":null,"spread":false},{"title":"DlgOptions.h <span style='color:#111;'>897B</span>","children":null,"spread":false},{"title":"HuiDemo2.h <span style='color:#111;'>2.38KB</span>","children":null,"spread":false},{"title":"HuiDemo2.cpp <span style='color:#111;'>8.44KB</span>","children":null,"spread":false},{"title":"Img.h <span style='color:#111;'>2.46KB</span>","children":null,"spread":false},{"title":"LayerBox4.h <span style='color:#111;'>525B</span>","children":null,"spread":false},{"title":"Img.cpp <span style='color:#111;'>10.33KB</span>","children":null,"spread":false},{"title":"LayerBox2.h <span style='color:#111;'>653B</span>","children":null,"spread":false},{"title":"DlgOptions.cpp <span style='color:#111;'>2.52KB</span>","children":null,"spread":false},{"title":"MainForm.h <span style='color:#111;'>1.03KB</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>1.59KB</span>","children":null,"spread":false},{"title":"PanlCtr.cpp <span style='color:#111;'>4.63KB</span>","children":null,"spread":false},{"title":"LayerBox.h <span style='color:#111;'>2.92KB</span>","children":null,"spread":false},{"title":"HuiDemo2.rc <span style='color:#111;'>16.51KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"personnelsbtn24x24.png <span style='color:#111;'>8.91KB</span>","children":null,"spread":false},{"title":"btn64X64.png <span style='color:#111;'>10.28KB</span>","children":null,"spread":false},{"title":"HuiDemo2.ico <span style='color:#111;'>66.19KB</span>","children":null,"spread":false},{"title":"HuiDemo2.rc2 <span style='color:#111;'>672B</span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'>27.94KB</span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>141B</span>","children":null,"spread":false},{"title":"Properties.h <span style='color:#111;'>801B</span>","children":null,"spread":false},{"title":"LayerBox.cpp <span style='color:#111;'>4.36KB</span>","children":null,"spread":false},{"title":"PanlCtr.h <span style='color:#111;'>622B</span>","children":null,"spread":false},{"title":"LayerBox3.h <span style='color:#111;'>564B</span>","children":null,"spread":false},{"title":"Personnels.cpp <span style='color:#111;'>4.12KB</span>","children":null,"spread":false},{"title":"LayerBox3.cpp <span style='color:#111;'>3.16KB</span>","children":null,"spread":false},{"title":"HuiDemo2.vcxproj <span style='color:#111;'>6.75KB</span>","children":null,"spread":false},{"title":"MainView.cpp <span style='color:#111;'>700B</span>","children":null,"spread":false},{"title":"MainForm.cpp <span style='color:#111;'>3.82KB</span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'>234B</span>","children":null,"spread":false},{"title":"HuiDemo2.vcxproj.user <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"LayerBox4.cpp <span style='color:#111;'>3.11KB</span>","children":null,"spread":false},{"title":"LayerBox1.cpp <span style='color:#111;'>2.28KB</span>","children":null,"spread":false},{"title":"Properties.cpp <span style='color:#111;'>3.45KB</span>","children":null,"spread":false}],"spread":false},{"title":"Hui","children":[{"title":"HBtn.cpp <span style='color:#111;'>1.82KB</span>","children":null,"spread":false},{"title":"HCtrl.cpp <span style='color:#111;'>13.89KB</span>","children":null,"spread":false},{"title":"Hui.rc <span style='color:#111;'>6.17KB</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>1.16KB</span>","children":null,"spread":false},{"title":"HWndEdit.h <span style='color:#111;'>580B</span>","children":null,"spread":false},{"title":"res","children":[{"title":"Hui.rc2 <span style='color:#111;'>662B</span>","children":null,"spread":false}],"spread":true},{"title":"HWnd.cpp <span style='color:#111;'>9.07KB</span>","children":null,"spread":false},{"title":"Hui.h <span style='color:#111;'>21.57KB</span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>134B</span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'>359B</span>","children":null,"spread":false},{"title":"HGrid.cpp <span style='color:#111;'>8.41KB</span>","children":null,"spread":false},{"title":"Hui.vcxproj.filters <span style='color:#111;'>2.49KB</span>","children":null,"spread":false},{"title":"HTips.cpp <span style='color:#111;'>1.91KB</span>","children":null,"spread":false},{"title":"dllmain.cpp <span style='color:#111;'>1.18KB</span>","children":null,"spread":false},{"title":"HEdit.cpp <span style='color:#111;'>2.99KB</span>","children":null,"spread":false},{"title":"Hui.vcxproj <span style='color:#111;'>5.89KB</span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'>236B</span>","children":null,"spread":false},{"title":"HLabel.cpp <span style='color:#111;'>2.44KB</span>","children":null,"spread":false},{"title":"Hui.vcxproj.user <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"HWndEdit.cpp <span style='color:#111;'>1.43KB</span>","children":null,"spread":false},{"title":"Hui.def <span style='color:#111;'>83B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • aliangrifeng:
    弄得真不错,要是多点介绍说明就好了2021-05-10
  • aliangrifeng:
    弄得真不错,要是多点介绍说明就好了2021-05-10
  • monahans:
    这个确实不错。2020-05-10
  • monahans:
    这个确实不错。2020-05-10
  • Burrows_liu:
    还是挺复杂的,可以好好研究研究。2020-05-06
  • Burrows_liu:
    还是挺复杂的,可以好好研究研究。2020-05-06
  • jiangmeihua100:
    初学者学习2019-02-22
  • jiangmeihua100:
    初学者学习2019-02-22
  • zhoujiaquan:
    还不错能用的2018-10-17
  • zhoujiaquan:
    还不错能用的2018-10-17

免责申明

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