Article View: comp.sys.mac
Article #20729Responding to UpdateEvt
From: Stathis Gikas
Date: Fri, 23 Oct 1987 12:30
Date: Fri, 23 Oct 1987 12:30
39 lines
1714 bytes
1714 bytes
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 .
Technical Details
Message-ID:
<312@sequent.cs.qmc.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!ukc!eagle!icdoc!qmc-cs!stathisShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!ukc!eagle!icdoc!qmc-cs!stathis From: stathis@cs.qmc.ac.uk (Stathis Gikas) Newsgroups: comp.sys.mac Subject: Responding to UpdateEvt Message-ID: <312@sequent.cs.qmc.ac.uk> Date: Fri, 23-Oct-87 07:30:00 EST Article-I.D.: sequent.312 Posted: Fri Oct 23 07:30:00 1987 Date-Received: Tue, 27-Oct-87 01:13:16 EST Organization: CS Dept, Queen Mary College, University of London, UK. Lines: 34