Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21843

[RESOLVED] Question about using GetWindowRect

$
0
0
Don't understand something.

1) If my Form is at screen location 0,0 to 22,22 GetWindowRect returns 1

2) If my Form is at screen location 23,23 to 37,37 GetWindowRect returns 2

3) If my Form is at screen location 38,38 to 52,52 GetWindowRect returns 3

4) If my Form is at screen location 53,53 to 67,67 GetWindowRect returns 4

etc, etc

Now I see that the range is 15 for examples 2, 3, and 4 but it is 23 for example 1

Can someone explain this?

Viewing all articles
Browse latest Browse all 21843

Trending Articles



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