`
Par2: Getting window position 2003-09-21 -- Lee White --map-- MODULE('Window API') GetWindowRect(LONG,*GROUP),BOOL,RAW,PASCAL,NAME('GetWindowRect'),PROC,DL L(1) END --local data-- RECT GROUP l LONG t LONG r LONG b LONG END --code-- GetWindowRect( Window{PROP:Handle}, RECT ) WinX = RECT.l WinY = RECT.t WinW = RECT.r - RECT.l WinH = RECT.b - RECT.t Printed November 21, 2024, 1:29 pm This article has been viewed/printed 35222 times. |