Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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
Today is November 21, 2024, 3:40 am This article has been viewed 35221 times.
|
|