Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: Get window width...
code: var RECT = Interop.Allocate(16);
Interop.Call('User32', 'GetWindowRect', <window handle here>, RECT);
var left = RECT.ReadDWORD(0);
var right = RECT.ReadDWORD(8);
var width = right - left;
|
|