草庐IT

motionwindow2

全部标签

c++ - 使用窗口 native API 创建 GUI

我正在尝试创建一个仅使用nativeWindowsapi的GUI。我使用win32控制台项目和win32窗口项目在vs2008中创建项目,我使用了Microsoft的示例代码,如下所示#include//GlobalvariableHINSTANCEhinst;//Functionprototypes.intWINAPIWinMain(HINSTANCE,HINSTANCE,LPSTR,int);InitApplication(HINSTANCE);InitInstance(HINSTANCE,int);LRESULTCALLBACKMainWndProc(HWND,UINT,WPAR