Joe Strazzere - All Things Quality

Visit my new blog at http://strazzere.blogspot.com/


December 1, 2005 - WinTask - WindowFromPoint

Posted in WinTask

'
' WindowFromPoint
'
' Author: Joe Strazzere
'
' "user32" Alias "WindowFromPoint"
' (ByVal xPoint As Long,
' ByVal yPoint As Long) As Long

 

x=100
y=100

 

hwnd = External("user32","WindowFromPoint", x, x)

 

msgbox("The window at ("+str$(x)+","+str$(y)+") is:"+GetWindowName$(hwnd),,"WindowFromPoint")


<- Last Page :: Next Page ->

About Me

A gathering place for information and ideas about Quality Assurance, Testing, and other useful topics.

Problems cannot be solved by the same level of thinking that created them. - A. Einstein

Search This Site

Translate This Site

RSS Feed

Subscribe

Twitter

@jstrazzere

Categories

Life
QA
Sports
Tools
WinTask
Work in General

What I'm Reading Now