搜索资源列表
HanoiTower
- 自建Tower类和Disc类,将Tower和Disc的位置、形状相关信息作为类的数据成员存储。在每次更改相应属性的时候都调用OnDraw()函数,并在其中顺序绘出当前的Tower和Disc,这样在改变塔和碟子属性的同时也就改变了塔和碟子在屏幕上的显示位置,从而达到了动态实现汉诺塔图形化的目的。
MyDraw
- 建立自己单文档的工程; 建立程序图标; 添加绘图菜单项:直线、椭圆、矩形; 添加线条颜色、填充颜色、笔宽等菜单项; 响应鼠标操作的橡皮条的交互画法; 在OnDraw()中显示图形; 实现线条、填充色及笔宽的自由设置。
MFCtest11Code
- 如何让CDC上输出的文字、图形具有保持功能,集合类CPtrArray的使用,CPaintDC与CClientDC的区别与应用,OnPaint与OnDraw在CView中的关系及实现内幕,滚动窗口的实现,坐标空间,映射方式,设备坐标与逻辑坐标的转换。元文件设备描述表的使用,如何利用兼容DC实现图形的保存和再现。
多彩窗口
- 可通过改变窗口大小来改变窗口颜色详见CColorWindowView::OnDraw(CDC* pDC)-can change the window size to change the window colors detailed CColorWindowView : : OnDraw (CDC * pDC)
Graphic
- 如何让CDC上输出的文字、图形具有保持功能,集合类CPtrArray的使用,CPaintDC与CClientDC的区别与应用,OnPaint与OnDraw在CView中的关系及实现内幕,滚动窗口的实现,坐标空间,映射方式,设备坐标与逻辑坐标的转换。-CDC on how to output text, graphics have to maintain function, CPtrArray the use of collections, CPaintDC with CClientDC and
26
- 在文档中导入位图的作为背景的方法,程序很简单,只在OnDraw中加入一段代码-In the document as a background bitmap into the method, the procedures are simple, just add some code in the OnDraw
Li3_8View
- 字体设置函数 有三种函数供参考 MFC工程里OnDraw函数里添加-There are three functions to set the font for the reference function works in MFC OnDraw function to add
Menu2
- view类没有菜单, 注意GetParent函数,菜单栏发生重绘,OnDraw产生窗口,在文件后插入菜单-view class no menu, note GetParent function, the menu bar redraw, OnDraw produces window, insert after the file menu
