摘要:
《Windows 程序设计》第七章中的 Checker3 和 Checker4 程序为父窗口和子窗口分别定义了窗口过程 WndProc 和 ChildWndProc并且父窗口和子窗口使用同一个消息循环Checker4 的代码如下#include <windows.h>#define DIVISIONS 5LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;LRESULT CALLBACK ChildWndProc (HWND, UINT, WPARAM, LPARAM) ;int idFocus = 0 ;TCHAR... 阅读全文
posted @ 2012-12-09 18:21
LShang
阅读(3588)
评论(0)
推荐(0)