文件名称:VC.3D
介绍说明--下载内容均来自于网络,请自行研究使用
VC编程中如何在界面上实现3D文字。
首先启动VC生成一个新的基于对话框的项目,命名为3Dtext,在对话框中重载OnPaint()函数,具体实现的思想是通过CDC::SetTextColor()分别设置文字的颜色为高亮(3DHILIGHT)和阴影(3DSHADOW)的状态下显示文字;同时注意在两次显示文字时要错开一个像素,这样才能达到预期的效果。-VC programming interface, the 3D text. The idea is to start the VC to generate a new dialog-based project, named 3Dtext override the OnPaint () function in the dialog box, the concrete realization by CDC :: SetTextColor () Set the font color for highlighting (3DHILIGHT state) and shadow (3DSHADOW,) to display text while paying attention to the display text twice to stagger one pixel, so as to achieve the desired results.
首先启动VC生成一个新的基于对话框的项目,命名为3Dtext,在对话框中重载OnPaint()函数,具体实现的思想是通过CDC::SetTextColor()分别设置文字的颜色为高亮(3DHILIGHT)和阴影(3DSHADOW)的状态下显示文字;同时注意在两次显示文字时要错开一个像素,这样才能达到预期的效果。-VC programming interface, the 3D text. The idea is to start the VC to generate a new dialog-based project, named 3Dtext override the OnPaint () function in the dialog box, the concrete realization by CDC :: SetTextColor () Set the font color for highlighting (3DHILIGHT state) and shadow (3DSHADOW,) to display text while paying attention to the display text twice to stagger one pixel, so as to achieve the desired results.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
VC编程中如何在界面上实现3D文字.doc