[comp.sys.mac] Responding to UpdateEvt

stathis@cs.qmc.ac.uk (Stathis Gikas) (10/23/87)

Summary:

Expires:


References
Sender:   stathis@cs.qmc.ac.uk
Reply-To: stathis@cs.qmc.ac.uk (Stathis Gikas)
Followup-To:
Distribution:
Organization: CS Dept, Queen Mary College, University of London, UK.
Keywords: LSC register inc by zero


According to the documentation (Inside Macintosh), one should
respond to an UpdateEvt by
1.Calling BeginUpdate;
2.Redrawing the updateRegion (or the contentRegion) of the
window(s) ;
3.calling EndUpdate.

But how does one actually redraw the content region of a
window? I tried to save the .contentRgn field of the window and
restore it later (in step 2 above), and the system died on me...

Please reply by E-mail, and I'll post a summary of the replies
to the net later.

Thanks in advance,

-- 
====================================================================
...!uunet!ukc-cs!{kcl-cs, root44, wcwvax}!qmc-cs!stathis  (old UUCP)
stathis@qmc-cs.uucp                                       (UUCP)
stathis%cs.qmc.ac.uk@ucl-cs.ARPA                          (ARPA)
----------------------------------
Stathis Gikas, Dep. of CS ,              tel: 01 980 4811
Queen Mary College (Un of London),            x 3947
Mile End Rd, London E1 4NS,  U K .