| 释义 |
CWnd::GetWindowRect
void GetWindowRect( LPRECT lpRect ) const;
参数:| lpRect | 指向一个CRect对象或RECT结构,用于接收左上角和右下角的屏幕坐标。 |
说明: 这个函数将CWnd对象的边界矩形的大小拷贝到lpRect所指向的结构中。大小是用相对于显示器屏幕左上角的屏幕坐标给出的,其中包括了标题条,边框和滚动条的大小,如果有的话。
请参阅: CWnd::GetClientRect, CWnd::MoveWindow, CWnd::SetWindowPos, ::GetWindowRect |