[Function] WinGetPosEx v0.1 (Preview) - Get the real position and size of a window

Post your working scripts, libraries and tools
FELITH
Posts: 2
Joined: 27 Jun 2018, 23:01

Re: [Function] WinGetPosEx v0.1 (Preview) - Get the real position and size of a window

30 Jun 2018, 10:24

guest3456 wrote: how do you know it doesn't work? downloading the screenshot and opening it shows 806x628 w/h
Spoiler
Spoiler
guest3456
Posts: 2574
Joined: 09 Oct 2013, 10:31

Re: [Function] WinGetPosEx v0.1 (Preview) - Get the real position and size of a window

30 Jun 2018, 12:28

You haven't explained anything. With different themes, there is no offset need. What are you trying to say?

guest3456
Posts: 2574
Joined: 09 Oct 2013, 10:31

Re: [Function] WinGetPosEx v0.1 (Preview) - Get the real position and size of a window

28 May 2019, 09:51

here is a change to the function that someone made which returns 4 separate offset values, instead of just 2:
; * 20171126: (RiseUp) Changed function to return 4 offset values instead of 2.
; Windows 10 has different offsets for the top versus the bottom of a window,
; so this function no longer assumes a symmetrical offset border around a
; given window.
https://github.com/pacobyte/AutoHotkey-Lib-WinGetPosEx/commit/2d6e8e4d6aa7b01a28481cf94502b0d840771a88


Return to “Scripts and Functions”

Who is online

Users browsing this forum: DonaldKenneth and 24 guests