Can you make a stack larger than the screen rect under Windows?
Martin Baxter
martin at materiaprima.fsnet.co.uk
Sun Aug 1 10:19:57 EDT 2004
>At 22:58 31/07/2004 -0400, Howard Bornstein wrote:
>
>> > I think Howard was talking about the user interactively resizing the
>> > window... this is a Windows limitation AFAIK. You can resize it with
>> > script,
>> > but just not interactively.
>>
>>Yes, that's exactly what I was referring to. So are you confirming
>>this limitation? Is this only in Revolution or does this limitation
>>exist with other applications? (I just answered my own question--tried
>>the same thing with Internet Explorer and it acts the same way: you
>>can't make the window larger that the screen rectangle.)
>>
>>Gee, Windows is dandy.
>
>If you *really* *really* want the functionality for your users, it should
>be possible to detect when the window is partially off-screen, and
>(programmatically) trim the window size to only the part that is on-screen.
>This would always allow the user to expand the on-screen edges - and then
>you could re-adjust if the window moved again.
>
>You'd have to be really desperate to get the functionality to justify all
>this work - and even then you might have some oddities with menus
>appearing unexpectedly. But I have used something like this technique to
>overcome windowing system limitations in the (dim, distant) past. (Apollo
>Systems, early '80s - details are gone ...)
>
>-- Alex.
The limiting factor is not the screenrect but the windowboundingrect.
I checked and you can in fact set the windowboundingrect to be wider than
the screen, and this does allow the behaviour that I think you wanted.
Martin Baxter
More information about the use-livecode
mailing list