Re: Rects Revisted

2019-06-26 Thread Bob Sneidar via use-livecode
Thanks Dar. That is exactly what I did. I guess I was expecting the effective working rect of a screen to be the area within which a window could be fully displayed accounting for all the accoutrements. (That's French you know. :-) Bob S > On Jun 26, 2019, at 15:04 , Dar Scott Consulting via

Re: Rects Revisted

2019-06-26 Thread Dar Scott Consulting via use-livecode
The effective rect of the stack is the absolute rect of the window including the title, all of the borders (where there are any) and and the decorations. Thus, the top will be (say) 22 pixels less than the rect of the stack. You can subtract the upper left of the working screenRect from either

Re: Rects Revisted

2019-06-26 Thread Bob Sneidar via use-livecode
So now my only beef is that with a MacOS window that has a custom menu that is set as the system menu, the effective rect of the stack does not take into account the MacOS Menu Bar. Bob S > On Jun 26, 2019, at 11:19 , Bob Sneidar via use-livecode > wrote: > > OK I figured it out. I have

Re: Rects Revisted

2019-06-26 Thread Paul Dupuis via use-livecode
On 6/26/2019 1:41 PM, Bob Sneidar via use-livecode wrote: So I am dealing with the rects of stacks vs. the rects of screens, and now I see what the issues people have had are all about. I have a window whose bottom is partially below the screen it is on. But item 4 of the rect of the stack is

Re: Rects Revisted

2019-06-26 Thread Bob Sneidar via use-livecode
OK I figured it out. I have to use the EFFECTIVE rect of the stack and the effective working rect of the screen. Bob S > On Jun 26, 2019, at 11:15 , Bob Sneidar via use-livecode > wrote: > > That is EXACTLY the question I was asking! :-) > > Bob S > > >> On Jun 26, 2019, at 10:48 , Alex

Re: Rects Revisted

2019-06-26 Thread hh via use-livecode
> Craig wrote: > Probably a brain typo... What an excellent wording! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Rects Revisted

2019-06-26 Thread Bob Sneidar via use-livecode
That is EXACTLY the question I was asking! :-) Bob S > On Jun 26, 2019, at 10:48 , Alex Tweedly via use-livecode > wrote: > > I'm lost . how is > > 1198 (item 4 of the stackrect) > > less than > > 1080 (item 4 of the screenrect) ? ___

Re: Rects Revisted

2019-06-26 Thread dunbarx--- via use-livecode
1:48 pm Subject: Re: Rects Revisted I'm lost  . how is 1198 (item 4 of the stackrect) less than 1080 (item 4 of the screenrect) ? On 26/06/2019 18:41, Bob Sneidar via use-livecode wrote: > So I am dealing with the rects of stacks vs. the rects of screens, and now I > see what the

Re: Rects Revisted

2019-06-26 Thread Alex Tweedly via use-livecode
I'm lost  . how is 1198 (item 4 of the stackrect) less than 1080 (item 4 of the screenrect) ? On 26/06/2019 18:41, Bob Sneidar via use-livecode wrote: So I am dealing with the rects of stacks vs. the rects of screens, and now I see what the issues people have had are all about. I have

Rects Revisted

2019-06-26 Thread Bob Sneidar via use-livecode
So I am dealing with the rects of stacks vs. the rects of screens, and now I see what the issues people have had are all about. I have a window whose bottom is partially below the screen it is on. But item 4 of the rect of the stack is being reported as being LESS than item 4 of the screenRect!