wxkwxl 发表于 2008-7-3 01:16

求解ScreenToClient()的使用说明

求解ScreenToClient()的使用说明

风之舞鹤 发表于 2008-7-3 01:39

找baidu或者看msdn啊 这样找多慢啊

风之舞鹤 发表于 2008-7-3 01:40

CWnd::ScreenToClient
void ScreenToClient( LPPOINT lpPoint ) const;

void ScreenToClient( LPRECT lpRect ) const;

Parameters

lpPoint

Points to a CPoint object or POINT structure that contains the screen coordinates to be converted.

lpRect

Points to a CRect object or RECT structure that contains the screen coordinates to be converted.

Remarks

Converts the screen coordinates of a given point or rectangle on the display to client coordinates.

The ScreenToClient member function replaces the screen coordinates given in lpPoint or lpRect with client coordinates. The new coordinates are relative to the upper-left corner of the CWnd client area.

poppylx 发表于 2008-7-4 01:49

bccn好像没有MSDN下载....

刚刚才发现it is not bc-cn

missiyou 发表于 2008-7-4 09:01

好像是把屏幕转换成客户。

页: [1]

编程论坛