case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: …… default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; }
|
正在阅读:明明白白看MFC之程序框架(1)明明白白看MFC之程序框架(1)
2004-04-16 10:25
出处:CSDN
责任编辑:sdq
键盘也能翻页,试试“← →”键