如题

解决方案 »

  1.   

    BOOL GetWindowRect(
      HWND hWnd,      // handle to window
      LPRECT lpRect   // address of structure for window coordinates
    );
      

  2.   

    BOOL GetWindowRect(
      HWND hWnd,      // handle to window
      LPRECT lpRect   // address of structure for window coordinates
    );
      

  3.   

    BOOL GetWindowRect(
      HWND hWnd,      // handle to window
      LPRECT lpRect   // address of structure for window coordinates
    );
      

  4.   

    BOOL GetWindowRect(
      HWND hWnd,      // handle to window
      LPRECT lpRect   // address of structure for window coordinates
    );
      

  5.   


    RECT rect;
             GetWindowRect(&rect);        就可以了.