Does mean that CClientDC  mostly be uesed as local variable and 
CPaintDC mostly be use in OnPaint(...), right? what the hell essence of  difference?

解决方案 »

  1.   

    msdn shang mian shuo de hen qing chu le
      

  2.   

    Lou shang de ni zhen gao xiao
    Buddy, u r a funny man.
    楼上的真搞笑The device context associated with a CClientDC object is the client area of a window.
      

  3.   

    struct PAINTSTRUCT {
        HDC         hdc;
        BOOL        fErase;
        RECT        rcPaint;
        BOOL        fRestore;
        BOOL        fIncUpdate;
        BYTE        rgbReserved[32];
    } 主要就是多了这个结构。