Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!ncar!tank!shamash!nic.MR.NET!umn-cs!berlin!sec From: sec@berlin.acss.umn.edu (Stephen E. Collins) Newsgroups: comp.sys.mac.programmer Subject: Re: Updating dialogs Summary: Don't forget SetPort. Keywords: update dialog icon Message-ID: <274@berlin.acss.umn.edu> Date: 6 Jan 89 04:50:20 GMT References: <373@lclark.UUCP> Organization: U of M MicroGroup, Minneapolis Lines: 16 In article <373@lclark.UUCP>, dan@lclark.UUCP (Dan Revel) writes: > What's the best way to update a non-modal dialog after changing one of > its dialog items? ... > I tried just using InvalRect on > the rect returned by GetDItem but to no update event is generated. I'll bet you forgot to do a SetPort to your dialog window before you called InvalRect. +-----------------------------------------------------------------------+ | Stephen E. Collins | sec@ux.acss.umn.edu / | ACSS Microcomputer & Workstation Systems Group | sec@UMNACVX.BITNET / | 125 Shepherd Labs +-----------+-------------------/ | University of Minnesota | Cum hanc intellegas, Latinam / | Minneapolis, MN 55455 | sententiolam potes legere! / +------------------------------------+----------------------------+