The River is Just a River  
If you're absent from my struggle,then,don't be present for my success
08 2012 档案
  • UpdateWindow与InvalidateRect (2)
    摘要:在创建一个windows应用程序时,在创建窗口的部分一般会有如下的函数调用:CreateWindow(...) ;ShowWindow(...) ;UpdateWindow(...) ;第一句:创建窗口第二句:显示窗口(显示创建之后的窗口)第三句:对窗口进行绘画现在来探讨一下UpdateWindow函数,下面是MSDN上的解释:UpdateWindow sends a WM_PAINT message directly to the window procedure of the specified window, bypassing the application queue. 下面我们创建 阅读全文
    posted @ 2012-08-23 13:54 TiffanyZhou 阅读(1529) 评论(3) 推荐(1)
  • Windows程序框架(1)
    摘要:最近在项目中发现对windows API还是不熟悉,用到的时候只能现查,在遇到某些问题的时候由于理解不透彻还是遇到很多问题,所以,决定仔细研究一下Windows程序设计的API。使用VS2010创建Windows应用程序,会生成如下4个函数:int APIENTRY _tWinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPTSTR lpCmdLine,int nCmdShow)ATOM MyRegisterClass(HINSTANCE hInstance)BOOL InitInstance(HINSTANCE hIns... 阅读全文
    posted @ 2012-08-22 14:06 TiffanyZhou 阅读(516) 评论(0) 推荐(0)