如何从C++程序员的角度理解消息循环 一段能看出消息顺序的代码 头文件包括 和using指示using namespace std; 在WndProc的swicth块前面加入以下片段: static fstream out("out.txt'); out << hex << Message << endl; // Message为第二个参数 在out.txt中可分析消息循环。