WaVe's Home

All About Program

导航

“消息分流器,子控件宏和API宏”

Posted on 2004-08-24 16:13  WaVe  阅读(430)  评论(0)    收藏  举报
    昨天刚买了一本《windows核心编程》(Programming Application for MS Windows,4th)by Jeffrey Richter
在附录中看到了关于“消息分流器,子控件宏和API宏”的讨论
感觉很好,可以使窗口过程的编写更加容易,而且不易出错。
这些宏定义于windowsX.h中(\Microsoft Visual Studio\VC98\Include\)
里面分了如下几个板块:
<<<<<<<<<<<<<<<<<<<<<
KERNEL Macro APIs
GDI Macro APIs
USER Macro APIs
<<<<<<<<<<<<<<<<<<<<<
Message crackers
<<<<<<<<<<<<<<<<<<<<<
Static control message APIs
Button control message APIs
Edit control message APIs
ScrollBar control message APIs
ListBox control message APIs
ComboBox control message APIs
<<<<<<<<<<<<<<<<<<<<<
Alternate porting layer macros
C runtime porting macros
<<<<<<<<<<<<<<<<<<<<<
有兴趣的可以看一看,很有帮助。不仅是编程,还有一些好的思想
其实学习编程重要的就是学习别人先进的编程思想,这比学习语言本身
要重要的多,不是么