搜索资源列表
huitu805
- 关于VC和windows 的绘图机制: 使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文 windows下的MFC编程机制,消息驱动,事件等待! 全局的app(应用程序对象) 注意 手工分配内存的清除 和CDC对象的删除 以释放系统的GDI资源 每一个new操作符都要对应一个delete 虽然已经弄出来了,还是希望大家好好读读源程序-on VC and windows gr
gjlstj
- 我学习VC 时间不长,怕分类分不好啊,大家原谅,好东西大家共同分享啊,我这可是收藏的一点好东西啊, 好好利用和学习吧,画CDC的确-learning time is not long, categorized and not afraid of good, and we forgive good things to share with you ah, But my collection of 1:00 ah good things that make the best use of it an
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* /)
btnst
- 平面、带图片的按钮该例子应用从CButton派生而来的CButtonST类和从CDC派生而来的CMemDC类,来实现平面、带图片的按钮,这两个类不需任何修改即可使用,方便、实用,该例子还应用从CStatic派生而来的CHyperLink类实现了在对话框实现超连接,使用跟上面两个类一样方便,值得学习。- The plane, the belt picture button this example application derives the CButtonST kind from CButt
DLL
- 动态链接库一个很精简的相册程序,界面美化,很适合用在个人主页上<br> 管理用户名为:admin<br> 密码:admin -CWinApp CSingleDocTemplate CCommandLineInfo ShowWindow UpdateWindow CDialog CDataExchange CDocument CView CDC CFile ReadFile CPrintInfo DeleteObject CException CreateBitmap
Button-tansparent
- Button-tansparent: LoadImage CPoint CWnd CButton GetActiveWindow GetCapture SetFocus SetCapture CRect GetClientRect PtInRect ReleaseCapture CDC CPen CBrush FrameRect FillRect GetSysColor SelectObject LineTo DrawFocusRect CString GetWindowText Offse
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
Kaleidoscope
- CDrawKaleidoscope类中封装了绘制屏幕万花筒的功能,通过rand函数随机取出小圆半径的大小,使用COS和sin求出小园上的点,然后使用CDC类的Line To方法将各个点进行连接。-CDrawKaleidoscope class encapsulates kaleidoscope draw the screen functions are picked randomly by the rand function size small circle radius calculated
