Hi folks,


remember my script to avoid partly cut-off stacks?

on preOpenStack
if "Development" is not in the environment then
  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

### !!!!!!!!! This does the trick, at least for me.
### It forces the stack to HAVE its original dimensions 1024*768
###AND to use the whole available monitor-area
### AND centers it if the monitor is also set to 1024*768

   else
      set the loc of me to the screenloc

### If the screen is bigger, it will look good anyway...

    end if
  end if
  set the navigationarrows to false
end preOpenStack


Now i noticed some other oddity in this context.

The windowboundingrect is supposed to be a global property.
At least the MC-help says so !!!

That means (should mean) once set, it remains until it is set to
some other value or MC quits. Right ?! I think so.

Now my stack, the one with that script, loads another
stack from the internet.

You guessed it, that downloaded stack is cut off on the top
AND on the bottom...

This only happens on a Mac !!!
On Windoze that stack is not cut-off in any way...

Big fun...
The close-button was not visible (and therefore not accesible)
and force-quitting MC ends with a  restart of the Mac in
almost every case :-(

I personally am no friend of the windowboundingrect ;-)
Life was a bit easier before that property...

Can someone give a hint or two ???


Regards

Klaus Major <[EMAIL PROTECTED]>
MetaScape GmbH


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to