[comp.sys.amiga.tech] Requester border

jack@cca.CCA.COM (Jack Orenstein) (04/22/88)

Many thanks to the people who responded to my questions about
requesters.  I have a follow-up question. Things are now working pretty
well, now that I have the Intuition manual, but I CANNOT get a border
drawn around a requester. I've checked for all (?) the bonehead errors
like not attaching the border to the requester, drawing the border with
the background color, etc. The only thing I can think of is that my
coordinates are incorrect. The manual is somewhat inconsistent on how
the LeftEdge and TopEdge fields of struct Border are to be set up. At
one point the text says that LeftEdge and TopEdge are absolute (in the
window?), but later it says that relative addressing is used, which
makes more sense. Which is it? I've tried both - is there another
alternative?

Also, to draw a box, I've allocated ten SHORTs, storing five (x, y)
pairs.  The first and last pair are (0, 0), (to match the upper left
corner of the requester), and the others visit the other corners. The
Count field is set to 5. Is all this correct?


Thanks

Jack Orenstein