导航:  Windows Procedures >

AfxGetWindowLocation

上一页返回章节概述下一页

描述

 

返回窗口左上角的位置,以像素为单位.位置相对于父窗口中的客户端区域的左上角.

 

FreeBASIC 语法

 

SUB AfxGetWindowLocation ( _

  BYVAL hwnd AS HWND, _

  BYVAL nLeft AS LONG PTR, _

  BYVAL nTop AS LONG PTR _

)

 

参数

 

hwnd

[in]窗口句柄

nLeft

[out]水平位置.

nTop

[out]垂直位置.

 

引用文件

 

AfxWin.inc