搜索资源列表
绘制各种图形-直线-多边形
- 1.PaintDCDemo 演示如何利用用类CPaintDC绘图。 2.ClientDCDemo 演示用类CClientDC管理用户区。 3.CPenDemo 类CPen的使用。 4.CBrushDemo 演示刷子CBursh的使用。 5.CRgnDemo 演示CRgn的用法。 6.MapModeDemo 演示不同映射模式下图形绘制。 7.DrawPointDemo 演示点的绘制。 8.DrawLineDemo 演示绘制直线。 9.DrawPol
drag-and-drop-images
- 该功能主要实现通过鼠标选中客户区中的图片,然后按住鼠标左键拖动,就可以看到此时图片会随着你的鼠标的移动而在客户区中移动。主要用到CRgn类来实现。-The function is mainly implemented through the mouse over the client area of the image, and then hold the left mouse button drag, you can see the picture with your mouse move a