摘要: #include "stdafx.h"//窗口过程函数(系统自动调用,即回调函数)LRESULT WINAPI MsgProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam){ switch(msg){case WM_DESTROY:PostQuitMessage(0);return 0;break;case WM_KEYUP:if(wParam==VK_ESCAPE) PostQuitMessage(0);break;}return DefWindowProc(hWnd,msg,wParam,lParam);}int WIN 阅读全文
posted @ 2013-07-25 17:07 露水上的青蛙 阅读(348) 评论(0) 推荐(0) 编辑