Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 [Help] Get coordinates within a window box?

$
0
0
Hey guys!
So, your screen's top-left coordinates would be 0,0 but I was curious,
can someone make a code to find coordinates within a window. So for example, lets say I open "Notepad"
I can enter something like:
dim windowForm = FindWindowCoordinates("Notepad")
then wherever my Notepad window is, the top-left of the window will be 0,0 not the top-left of my screen.
Hopefully I explained this good enough, if not, please let me know.
And hopefull someone can do this for me:/

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>