搜索资源列表
BeautifulFace
- 一个华丽的界面 使用方法 方法一: ModifyStyle( WS_CAPTION, WS_MINIMIZEBOX, SWP_DRAWFRAME ) //设置图标 方法二: 不用上面的,但是要去掉对话框的title属性 void CPageDlg::OnPaint() { if (IsIconic()) { ... } else { // CDialog::On
btnst
- 平面、带图片的按钮该例子应用从CButton派生而来的CButtonST类和从CDC派生而来的CMemDC类,来实现平面、带图片的按钮,这两个类不需任何修改即可使用,方便、实用,该例子还应用从CStatic派生而来的CHyperLink类实现了在对话框实现超连接,使用跟上面两个类一样方便,值得学习。- The plane, the belt picture button this example application derives the CButtonST kind from CButt
VC_Graphics_rendering_and_image_display
- VC++图形绘制与图片显示小例子,MFC的与设备无关的图形设备环境类CDC的应用和MFC中图像处理类CImage的应用例子,在对话框中显示图片,绘制图形-VC++ graphics rendering and picture shows a small example, MFC has nothing to do with the equipment, graphics equipment, environmental CDC in MFC application and type of ima
ProgressCtrl
- 派生类的使用、内存DC的构建和使用,对话框应用类型的建立, CProgressCtrl控件的使用, 内存DC使用CTextProgressCtrl类从CProgressCtrl标准类派生,用来改写进度条的属性; CMemDC从CDC标准类派生,构造内存DC,防止绘制闪烁; -The use of derived classes, the memory DC, to build and use of establishment of the dialog box type of appli
SingleWindowDialog
- 本程序实现的是单文档窗口程序,用户通过菜单打开一个对话框Dialog,在其中文本框输入文本,并单击“确定”按钮,在客户区输出相应文本 除此之外,还能实现定位输出文本:当单击“查看”->“Center”时文本将居中显示,当单击Left时文本将以左对齐显示,单击Right时文本将以右对齐显示,同时选择的菜单前将加上核对标记。 本实例用到的主要知识有:刷新视图的函数Invalidate()、创造字体的函数CreateFontIndirect()、CDC类处理文本的函数、输出文
mfcwtldlg
- WTL和MFC共存,运用WTL内的切分类和容器切分MFC对话框。 include是wtl7.1的模板头文件。但在MFC和WTL中有相同的类时,WTL经常找错使用到MFC的类。 所以在编译有错的地方我进行过一些更改。比如将atlgdi.h中的CDC改为WTL::CDC。-WTL and MFC coexistence, using WTL classification and container cutting within the segmentation MFC dialog box.
fapiao
- 使用CDC指针在窗体上绘制发票,通过打印对话框完成打印-Use CDC pointer to draw the invoice on the form, print through the Print dialog box to complete
ex16
- 在对话框中绘图,介绍如何在对话框中绘图。实现绘图操作最重要的一个类就是设备环境类CDC类,该类的成员函数可以实现颜色设置、图形绘制、打印输出等各种操作。-In the dialog box, drawing, drawing in the dialog box shows you how. Drawing operations to achieve the most important class is the class of device context CDC class, class m
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 ge
Dialog_Test
- 用于EVC的Dialog例子。主要是用CDC进行画图、绘制点,并用多线程进行画点的控制。还有进度条的使用。-EVC example for the Dialog. CDC is mainly used for painting, drawing point, and multi-threaded control point for painting. Also use the progress bar.
VistaCalendar
- Vista风格日历 在对话框上绘制软件的背景位图并根据背景位图设置窗体的显示区域然后获得系统当前日期并根据当前日期计算对应的农历日期,然后通过CDC类将获得的日期数据绘制在窗体上-Vista style calendar in the dialog box on background bitmap drawing software and then get the current system date and the current date to calculate the correspo
LineChart
- 这是一个VC++实现曲线控件的程序,基于基本对话框的程序实现,利用CDC进行图形画法,程序中进行分布讲解,以及对话框的设计和关联变量的添加,控件响应函数的添加及代码实现。-This is a VC++ and curve control program, based on the basic dialog program implementation, use CDC for graphics drawing, distribution explain, and add design and a