Windows
文章平均质量分 55
马良
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
图形对象
The pen, brush, bitmap, palette, region, and path associated with a DC are referred to as its graphic objects. The following attributes are associated with each of these objects与DC相联系的画笔,笔刷,调色板,区域和路径被称为图形对象,以下属性与每个对象相关联。Graphic objectAssociated attribu翻译 2011-03-25 14:15:00 · 444 阅读 · 0 评论 -
关于设备内容
<br />Device independence is one of the chief features of Microsoft® Windows®. Applications can draw and print output on a variety of devices. The software that supports this device independence is contained in two dynamic-link libraries. The first,翻译 2011-03-25 13:30:00 · 340 阅读 · 0 评论 -
BeginPaint和EndPaint处理WM_PAINT
<br />The HDC data type is defined as a 32-bit unsigned integer. The program may then use GDI functions, such as TextOut, that require the handle to the device context. A call to EndPaint releases the device context handle.<br /> <br />【HDC被定义为一个32位无符号翻译 2011-03-25 17:41:00 · 652 阅读 · 0 评论 -
PAINTSTRUCT 结构的作用
<br /><br />The PAINTSTRUCT structure contains information for an application. This information can be used to paint the client area of a window owned by that application.<br /> <br />【PAINTSTRUCT结构包含应用程序的某些信息,这些信息可被应用程序所包含的窗口用来绘制客户区。】<br /> <br />typedef翻译 2011-03-26 13:57:00 · 2375 阅读 · 1 评论 -
rePaint:无效区域的利用
<br /><br />The rcPaint field of the PAINTSTRUCT structure is a structure of type RECT. As you learned in Chapter 3, the RECT structure defines a rectangle with four fields named left, top, right, and bottom. The rcPaint field in the PAINTSTRUCT structure翻译 2011-03-26 14:57:00 · 547 阅读 · 0 评论 -
VC++ 6.0 配置UNICODE标识符进行编译
<br />Virtual C++ 6.0支持Unicode编程,但默认为ANSI,需要显示开启Unicode。<br /> <br />开启方式:打开菜单project,进入setting选项。在C/C++选项卡的Preprocessor definition中去掉_MBCS,添加_UNICODE和UNICODE标识符,注意要用逗号隔开。保存后就使得VC++ 6.0支持了Unicode。<br /> <br />在没有定义UNICODE和_UNICODE前,所有函数和类型都默认使用ANSI的版本;在定义了原创 2011-03-25 09:36:00 · 536 阅读 · 0 评论
分享