操作系统:Windows 7软件环境:Visual C++ 2008 SP1本次目的:为静态控件添加事件,如:STATIC、Picture Control等等 有时候我们找到一个图片,为对话框背景添加了图片,我们需要在某个位置令其可以单击,如下两图所示: 首先:修改静态控件属性Notify 为Tru Read More
posted @ 2016-10-09 23:00 findumars Views(659) Comments(0) Diggs(0)
操作系统:Windows 7软件环境:Visual C++ 2008 SP1本次目的:实现无框移动 所谓的无标题栏对话框,是基于对话框的工程,对话框属性Border设置为None,对话框如下所示: 为对话框添加左键点击事件,代码如下: [cpp] view plain copy void CPlay Read More
posted @ 2016-10-09 22:59 findumars Views(383) Comments(0) Diggs(0)
我们先定义一些常见类型变量借以说明 [cpp] view plain copy int i = 100; long l = 2001; float f=300.2; double d=12345.119; char username[]="赵三"; char temp[200]; char *buf Read More
posted @ 2016-10-09 22:58 findumars Views(369) Comments(0) Diggs(0)
UNICODE支持欧洲、非洲、中东、亚洲(包括统一标准的东亚象形汉字和韩国象形文字)。但是,UNICODE并没有提供对诸如Braille, Cherokee, Ethiopic, Khmer, Mongolian, Hmong, Tai Lu, Tai Mau文字的支持。同时它也不支持如Ahom, Read More
posted @ 2016-10-09 22:54 findumars Views(240) Comments(0) Diggs(0)
MyGui是一个用来创建用户图形界面的库,用于游戏和3D应用程序。这个库的主要目标是达到:快速、灵活、易用。 1.下载准备: 源代码:http://svn.code.sf.net/p/my-gui/code/trunk 依赖包:http://sourceforge.net/projects/my-g Read More
posted @ 2016-10-09 22:51 findumars Views(908) Comments(0) Diggs(0)