期刊文献+

基于MFC的电脑钢琴的设计与实现

The Design and Implementation of Computer Piano Based on the MFC
下载PDF
导出
摘要 VC++中使用MFC(微软类库)简化了编程过程减少了代码编写,利用MFC制作一个电脑钢琴主要使用了MFC中对话框控件命令按钮的添加以及位图按钮的使用方法,同时利用PlaySound()函数实现声音的导入及通过按钮单击响应,该设计中主要的亮点是对按钮的美化工作,通过外部位图的添加实现位图替换命令按钮的工作,同时通过对按钮的UP和DOWN状态替换不同位图从而实现模拟钢琴按键弹奏效果。 The use of MFC VC++(Microsoft Foundation Classes) simplifies the programming process reduces code, use MFC to make a computer piano mainly use the dialog control in MFC command buttons to add and bitmap button to use, and use PlaySound( ) function to achieve the sound import and response by the button click, highlight the main design is a button on the beautification work, through the external Bitmap bitmap replace add command buttons, and the buttons of UP and DOWN to realize the simulation of different state replaced the bitmap piano play button effect.
作者 王婷
出处 《电脑与信息技术》 2014年第3期41-42,52,共3页 Computer and Information Technology
关键词 MFC 控件 函数 MFC control function
  • 相关文献

参考文献2

  • 1宋金柯,高丽华,张迎新.VC++程序设计基础教程[M].北京:清华大学出版社,2010.
  • 2[美]B.扎拉蒂亚.VisualC++6.0程序员指南[M].北京:北京希望电脑公司,1998.

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部