close

 

很簡單,兩個步驟

Step1 .

GetWindowRect ( &rect ) ;

 

Step2.

ScreenToClient ( rect ) ;

 

Position : 

X : rect.left ;

Y : rect.top;

W: rect.Width();

H: rect.Height();

 

 

arrow
arrow
    全站熱搜

    Eric 發表在 痞客邦 留言(0) 人氣()