摘要:
LRESULTCALLBACKMessageWinProc(HWNDhwnd,//handletowindowUINTuMsg,//messageidentifierWPARAMwParam,//firstmessageparameterLPARAMlParam//secondmessageparameter)//用于处理消息窗口接收到的消息{switch(uMsg){caseWM_CLOSE:DestroyWindow(hwnd);break;caseWM_GRAPHNOTIFY://Dothingsbreak;caseWM_DESTROY:PostQuitMessage(0);break; 阅读全文
摘要:
PartA:PreparingtheVisualStudioenvironment.1.InstallVisualC++2008,partoftheVisualStudiopackagedownloadablehere:URL:http://msdn.microsoft.com/en-us/evalcenter/bb633753.aspx).Note:Expresseditionwon'twork(it'smissingMFC,whichMPC-HCuses).2.InstallServicePack1(SP1)forVisualStudio2008andalltheVisua 阅读全文