windows 时钟.docVIP

  • 4
  • 0
  • 约6.88千字
  • 约 7页
  • 2018-03-15 发布于河南
  • 举报
windows 时钟

#include windows.h #include resource.h #include math.h LRESULT __stdcall WndProc(HWND, UINT, WPARAM, LPARAM); int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { char szWindowClass[] = Clock; // 注册窗口类 WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = ::LoadIcon(hInstance, (LPCTSTR)IDI_MAIN); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_3

文档评论(0)

1亿VIP精品文档

相关文档