摘要: 从c方式创建窗体,创建默认消息处理:LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){ PAINTSTRUCT ps; HDC hdc; switch (message) { case WM_PAINT: hdc = BeginPaint(hWnd, &ps); EndPaint(hWnd, &ps); break; case WM_ERASEBKGND: break; case WM_D... 阅读全文
posted @ 2012-01-13 13:06 asight 阅读(1258) 评论(0) 推荐(0) 编辑