[comp.sys.mac.programmer] WDEF 0 differs in Mac Plus, SE/30?

nick@cs.edinburgh.ac.uk (Nick Rothwell) (11/30/90)

The About-box code for my application throws a picture resource onto the
screen. It does this by reading the picture, interpreting the bounds rect
at the beginning, creating a window of that size, and drawing the picture
into the window.

The window I'm using is the modal dialog one (I think it's done by WDEF 0).
So, it has a black border and a thicker inner border.

When I run my application on a Mac Plus, the picture fits the inner border
exactly (as I'd expect). When on an SE/30, there's a gap of 5 pixels or so
between the outer bounds of the picture and the inner window border, so
I guess that the actual window is drawn slightly bigger (I can't do a
side-by-side comparison, one Mac is at home).

Anybody know why?

-- 
Nick Rothwell,  Laboratory for Foundations of Computer Science, Edinburgh.
                nick@lfcs.ed.ac.uk    <Atlantic Ocean>!mcsun!ukc!lfcs!nick
~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~
 "You ain't seen nothing yet. I can take this floor out too, no trouble."