搜索资源列表
xpbuttons
- 如果你希望能够在自己的程序中表现出新意,那么你一定不会仅仅满足于MFC提供那些标准控件。这时,我们就必须自己另外多做些工作了。就改变控件外观这一点来说,主要是利用控件的自绘功能(Owner Draw)实现的。本篇将和各位一起定义一个XP风格的CXPButton按钮类,目的不在于介绍CXPButton类的使用技巧,而在于向各位阐述实现自绘按钮的方法。当然如果你觉得CXPButton有用的话,也可以把它的源文件保存下来,直接加入到自己的项目中。-if you hope to be able to o
DynButtonExe
- This article s main purpose is to show another aspect of BEGIN_MESSAGE_MAP(). In MFC, whenever there is a need to make a button control dynamic, we often get hung up on the point of defining a method for that button such that when that button is clic
Arrow.rar
- 在视图中画箭头的函数。DrawArrow(CDC *pDC, CPoint ptStart/*起始点*/, CPoint ptEnd/*终点*/),In view of the function arrow painting. DrawArrow (CDC* pDC, CPoint ptStart/* starting point* /, CPoint ptEnd/* end* /)
calculator
- 能进行简单的四则运算,含有小数点功能和清除功能,清除功能包括全部清除和一个一个数字地清除,但是清除小数时只能清除最后面的那个数字。-To carry out simple arithmetic, which contains a decimal point function and clearance, including clearance of all clear and a way to remove a number, but can only be cleared when the c
sendmessage
- 在Windows编程中,向文本框控件、列表控件、按钮控件等是我们最常接触的控件了。但是在VB中这些控件有时无法实现我们的需要。在这时,我们只要简单的利用Windows API函数就可以扩充这些控件的功能了。-In Windows programming, to the text box control, list control, button control so that we control the most exposure. But sometimes these controls i
iClock
- vs下用c#窗体程序编写的时钟程序,可以选择12小时显示或者24小时显示,有整点报时功能,通过获取系统时间得到时钟的时间-vs c# Forms program written with clock program, you can select the 12-hour display or 24-hour display, the whole point timekeeping function by getting the system time clock time
jpeg
- vc++ 获得指定像素点的颜色,如演示截图所示,用户可以用鼠标左键单击图片的某一处时,就会在图片的右侧以该点颜色填充一个实心的矩形。实现方法通过函数COLORREF CDC::GetPixel( int x, int y)可以得到指定点的颜色,其参数x、y 是指定点的坐标。-When vc + + to get the color of the specified pixel, as shown in the demo screenshot, users can use the left mou