recurse-offset: func [face /local o][
 ;this recursively appends offset values
 o: face/offset
 if not none? face/parent-face [o: o + recurse-offset face/parent-face]
 o
]
----- Original Message ----- 
From: "Anton Rolls" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 23, 2001 8:25 PM
Subject: [REBOL] event/offset relative to screen-face ?


> Does anyone know how to get the mouse
> position (or other event/offset) relative
> to the screen-face (that is the top-level
> window which represents the os desktop)?
> 
> I tried modifying
> 
>   system/view/screen-face/feel
> 
> to report event/offset, but it appears that
> all windows that I open still have event/offset
> relative to their top/left corner.
> 
> Anton.
> 
> -- 
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the 
> subject, without the quotes.
> 

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to