Stack window offset, won't return

Klaus Major kmajor at
Wed Feb 13 08:09:01 EST 2002

Hi Ken,

> Hello,
> Well, I'm slowly trying to solve crash problems with RR.
> I finally got my full screen background image aboard.
> I positioned the stack window full screen: 0,0,800,600, and the image 
> lays
> right in it OK, but, when I close and reopen, it somehow ends up dropped
> down 61 pixels, looks like where edge of the icon task bar goes (I have 
> them
> off). How do I stop this from happening?
> Best regards,
> Ken N.

maybe this doesn't apply to you, but i had trouble when displaying a 
stack fullscreen, too.

on preOpenStack
     set the decorations of me to empty
     set the backdrop to black
     hide menubar
     if the screenrect is 0,0,1024,768 then
       set the windowboundingrect to 0,0,1024,768
       set the loc of me to 512,384
       set the rect of me to 0,0,1024,768
       set the loc of me to the screenloc
     end if
end preOpenStack

There is this issue with the windowboundingrect, which is different than 
in most cases ;-)

I had the problem to display my stack (1024 * 768) fullscreen if the 
was the same size. There was always a part cutt-off of that stack as 
well on the top as on the bottom.

With this script i had no more problems.

Check it out...

Hope this helps...


Klaus Major
kmajor at

More information about the Use-livecode mailing list