rt

解决方案 »

  1.   

    BOOL GetWindowRect(
      HWND hWnd,      // handle to window
      LPRECT lpRect   // window coordinates
    );位置大小int GetWindowText(
      HWND hWnd,        // handle to window or control
      LPTSTR lpString,  // text buffer
      int nMaxCount     // maximum number of characters to copy
    );
    标题
      

  2.   

    太含糊了吧!
    直接去MSDN查吧!
      

  3.   

    agree to handsomerun 无非是两个函数
    GetWindowRect
    GetWindowText
      

  4.   

    ::GetWindowRect(CRect rect);
    ::GetWindowText(LPSTR str);
      

  5.   

    GetWindowRect
    GetWindowText
    够用了