Windows 程式设计

作者:Charles Petzold

分类:作品

收藏:0

点击:5

顾文姬评分

暂无评分

Windows 程式设计内容简介

登录查看更多

热门摘录

Unicode使得程序更容易地跨越国界。

The handle to a window is one of the most important handles that a Windows program(pardon the expression) handles.

A Windows program can contain more than one window procedure. A window procedure is always associated with a particular window class that you register by calling RegisterClass.

(Remember that one window procedure could be handling messages for multiple windows that were created based on the same window class. The hwnd parameter lets the window procedure know which window is receiving the message.)

If the message field of the message retrieved from the message queue is anything except WM_QUIT (which equals 0x0012), GetMessage returns a nonzero value. A WM_QUIT message causes GetMessage to return 0.

For now,be aware that Windows has a variety of "mapping modes"that govern how the logical coordinates specified in GDI drawing functions are translated to the physical pixel coordinates of the display. The mapping mode is defined in the device context.

The device context also defines a clipping region.

Windows 程式设计书评

还没人写过点评,快来抢沙发吧

关于Charles Petzold

Charles Petzold

Charles Petzold 是 Windows 编程界大师、世界顶级技术作家。1994年5月,Petzold 作为仅有的七个人之一(并且是唯一的作家)被 Window Magazine 和 Microsoft 公司授予 Windows Pioneer 奖,以表彰他对 Microsoft Windows 的成功做出的贡献。Petzold 从1984年开始编写个人计算机程序,从1985年开始编写 Microsoft Windows 程序。他在 Microsoft Systems Joumal 1986年12月号上发表了第一篇关于 Windows 程序设计的杂志论文。从1986年到1995年,他为 PC Magazine 撰写 Environments 专栏,给读者介绍了 Windows 和 OS/2 程序设计的许多方面。 直到今天他依然维持 Windows GDI 程序设计首席技术作家的地位。其著作《Windows程序设计》是尽人皆知的 Win32 API 编程经典。

Charles Petzold的小说 更多>>

微信公众号 微信客服号 APP下载 返回顶部
顾文姬微信公众号

微信扫描关注

顾文姬微信客服号

微信扫描加好友

顾文姬app下载

扫描下载