标题:[求助]怎样获取活动动窗口的座标
只看楼主
失落的永恒
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2005-4-6
 问题点数:0 回复次数:1 
[求助]怎样获取活动动窗口的座标
怎样获取活动动窗口的座标,并可以修改活动窗口的.left和top????
搜索更多相关主题的帖子: 窗口 获取 活动 left 
2005-04-17 18:15
griefforyou
Rank: 6Rank: 6
等 级:贵宾
威 望:27
帖 子:3336
专家分:0
注 册:2004-4-15
得分:0 
Private Declare Function GetForegroundWindow Lib "user32" Alias "GetForegroundWindow" () As Long
Private Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long
Private Declare Function SetWindowPos Lib "user32" Alias "SetWindowPos" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

天津网站建设 http://www./
2005-04-17 18:56



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-15914-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.083138 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved