` Printed Icetips Article

Icetips Article



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 23, 2024, 2:12 am
This article has been viewed/printed 35224 times.