Hi,

Just starting (again) to do some Mac Toolbox programming.
I'd like - in the "redraw" event handler - to get access to the elements
of the bounding rectangle of the active window.
What I eventually want to do is to rescale the contents of a window that
has its size changed. So my plan would be to use the bounding rectangle
info in the scaling relations from my drawing objects to the window
coordinates. Initially no problem since I define a box before craeting the
window. But on redraw, I can't find how to get the updated rectangle.

I am starting off from the simple example in MPPE, p.
199 ff. I can use the mechanism from footnote 4, p. 198, but the returned
values remain at their initial values.

TIA for any help

Uli Wienands

Reply via email to