GetWindowRect() ScreenToClient() ,和 GetClientRect()区别
2013-06-05 16:52
274 查看
GetWindowRect() 是获取对象在屏幕桌面上的大小。如 一个类对象 Pfream,在主窗口上的位置
首先死获取在屏幕上的位置,Pfream.GetWindowRect( &rect );
然后在转化为在Pframe在所在区域里面的位置。
ScreentoClient( &rect );
首先死获取在屏幕上的位置,Pfream.GetWindowRect( &rect );
然后在转化为在Pframe在所在区域里面的位置。
ScreentoClient( &rect );
相关文章推荐
- GetWindowRect, GetClientRect, ScreenToClient的区别
- GetWindowRect、GetClientRect、ScreenToClient、ClientToScreen的区别
- VC++中的GetWindowRect,GetClientRect,ScreenToClient , ClientToScreen();
- GetWindowRect,GetClientRect,ClientToScreen 和ScreenToClient
- GetWindowRect,GetClientRect,ScreenToClient MoveWindow SetWindowPos 用法说明
- GetWindowRect、GetClientRect、ScreenToClient与ClientToScreen
- GetWindowRect、GetClientRect、ScreenToClient与ClientToScreen
- GetWindowRect、GetClientRect、ScreenToClient与ClientToScreen 分类: VC++ 2013-10-30 08:20 1122人阅读 评论(0) 收藏
- GetWindowRect、GetClientRect、ScreenToClient与ClientToScreen
- 一个关于MoveWindow,ScreenToClient,ClientToScreen,GetWindowRect,GetClientRect的简单问题
- GetWindowRect、GetClientRect、ScreenToClient与ClientToScreen
- GetWindowRect,GetClientRect,ScreenToClient MoveWindow SetWindowPos 用法说明
- GetWindowRect、GetClientRect、ScreenToClient与ClientToScreen
- 关于ClientToScreen、ScreenToClient、GetClientRect和GetWindowRect四个函数之间的关系
- GetWindowRect()和GetClientRect() 及ScreenToClient
- MFC GetWindowRect, GetClientRect和ScreenToClient
- GetClientRect,ClientToScreen,GetWindowRect,我的误用
- GetClientRect , GetWindowRect ,ClientToScreen和ScreenToClient的疑问
- GetClientRect , GetWindowRect ,ClientToScreen和ScreenToClient的疑问
- GetWindowRect再ScreenToClient和GetClientRect的探究