`
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 May 19, 2024, 3:04 pm This article has been viewed/printed 35132 times. |