GetDesktopWindow
功能
如何获取第二台显示器的结果?
* 编辑已解决*
<Runtime.InteropServices.DllImport("user32.dll",
CharSet:=Runtime.InteropServices.CharSet.Auto, ExactSpelling:=True)> _
Public Shared Function WindowFromPoint(ByVal x As Integer, ByVal y As Integer)
As IntPtr
End Function
成功了。
<Runtime.InteropServices.DllImport("user32.dll",
CharSet:=Runtime.InteropServices.CharSet.Auto, ExactSpelling:=True)> _
Public Shared Function WindowFromPoint(ByVal x As Integer, ByVal y As Integer)
As IntPtr
End Function