Windows API編程——最簡單的窗口程序框架示例

 用Windows API實現一個自定義窗口也需要這麼一大堆最基本的程序框架: #include <windows.h> static LPCTSTR lpszAppName = "windows API 窗口示例";//窗口名稱 HBRUSH hBlueBrush, hRedBrush;//畫刷句柄 //響應消息的回調函數 LRESULT CALLBACK WndProc(HWND hWn
相關文章
相關標籤/搜索