如何控制指定图标到指定的坐标?
在桌面上的一个图标 360浏览器极速版.lnk,如何把它移动到指定的坐标(23,,248)或者说,如何把它移动到桌面的第三个图标位置,请高手解答! Global Const $GWL_STYLE = 0xFFFFFFF0$hanld = WinGetHandle("Program Manager")
$hwnd = ControlGetHandle($hanld,"","SysListView321")
$con = ControlListView($hanld,"",$hwnd,"GetItemCount")
_SendMessage($hwnd, $LVM_SETEXTENDEDLISTVIEWSTYLE, $LVS_EX_SNAPTOGRID, 0)
$dwStyle = _WinAPI_GetWindowLong($hwnd, $GWL_STYLE )
_WinAPI_setWindowLong($hwnd, $GWL_STYLE , BitAnd($dwStyle,BitNot($LVS_AUTOARRANGE))) 就看懂了
$hanld = WinGetHandle("Program Manager")
$hwnd = ControlGetHandle($hanld,"","SysListView321")
下面没看懂,晕。。。。。。 麻烦给写个完整代码,谢谢! up....................................
页:
[1]