引用:http://v.youku.com/v_show/id_XMjM3MTI1ODky.html
MSG
窗口——一般是程序在屏幕上的不同的矩形区域。
窗口句柄——标识窗口类型的类(资源的标识)
句柄的分类:
图标句柄hicon
光标句柄hcursor
窗口句柄hwnd
应用程序实例句柄hinstance
。。。。
uint就是跟C中的INT类似的表示整形,其中消息都是整形无符号
宏wm——window message
wparam和lpram都是整形
对比
1
2
3
4
|
int
x;
int
y;
x=30;
y=30
|
和
1
2
3
4
|
typedefine
int
width
typedefine
int
height
width x;
height y;
|
下面的这个直接可以知道变量的用途,这就是微软为何添加这么多新的类型的原因
看到16min了