Programming applications for Windows

A solid Win32 programmer

Navigation

深入剖析WTL—WTL框架窗口分析

Summary:通常想到的解决办法是根据窗口函数的HWND参数,寻找与其对应的类的实例的指针。然后,通过该指针,调用该实例的消息逻辑处理函数ProcessWindowsMessage()。

这样就要求存储一个全局数组,将HWND和该类的实例的指针一一对应地存放在该数组中。

ATL解决这个问题的方法很巧妙。该方法并不存储这些对应关系,而是使窗口函数接收C++类指针作为参数来替代HWND作为参数。

A tool that import all posts from wordpress to blogger in python

Summary:A tool that import all posts from wordpress to blogger in python

How to register XPCOM Dll on Firefox?

Summary:下载gecko-sdk后,在bin目录下的regxpcom.exe就是注册XPCOM组件dll的程序.

利用CSS使网页居中对齐(转)

Summary:如何使DIV居中?

Web digger(scraper)

Summary:最近在做一个web挖掘工程...

详解:多边形填充方式(ALTERNATE和WINDING)的区别 (转)

Summary:在ALTERANATE模式下:从左到右水平扫描!~~系统只填充每个扫描行的多边行的奇数边到偶数边的部分,不填充偶数边到奇数边的部分;

Porting 32bit to 64bit (译文加补充)?

Summary:环境:
OS: Vista 64bit
IDE: Visual C++ 6.0

can I run my 64-bit test OS in my virtual machine, even though I only have a 32-bit CPU?

Summary:The unfortunate answer is, No. VMware does not provide CPU virtualization.

Develops Firefox extension step by step

Summary:step by step.

ATL learning summary (2) 透过ATL_NO_VTABLE看ATL本质

Summary:既然, CMath是从IMath的实现类, 那为什么CMath还要从CComObjectRootEx<>, CComCoClass<>继承派生呢? ATL_NO_VTABLE为什么要应用在CMath实现类上呢?
Speerate pages: [<<] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [>>]

Calendar

<< 2009·2 >>

Sun

Mon

Tue

Wen

Thu

Fri

Sat

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

Search

Blog statistics

  • Total articles:120
  • Amount of the comments:16
  • Amount of the References:8606
  • Current style:default
  • Current language:zh-CN

Icons

  • RainbowSoft Studio Z-Blog
  • 本站为 Mozilla 进行了优化,推荐使用 Mozilla FireFox
  • 通过 W3C XHTML 1.0 Transitional 校验
  • 通过 W3C CSS 校验
  • 订阅本站的 RSS 2.0 新闻聚合

Power by Z-Blog 1.2 sp3 build 50531

Copyright Geekcalw Inc. All Rights Reserved.