Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!er225711 From: er225711@unix.cis.pitt.edu (M Kikuchi) Newsgroups: comp.sys.mac.programmer Subject: how can I draw contents of modeless dialog? Message-ID: <24766@unix.cis.pitt.edu> Date: 7 Jun 90 17:42:39 GMT Reply-To: er225711@unix.cis.pittsburgh.edu (M Kikuchi) Organization: Univ. of Pittsburgh, Comp & Info Sys Lines: 15 I'm trying to implement a modeless dialog using complete DLOG and DITL resources, but the contents of the item list are not drawn (i.e. I get just a plain white window). When I replace my getNextEvent() loop with a ModalDialog() loop, everything is displayed just fine! How do I draw the contents of a modeless dialog as contained in its item list? If I do DrawControls(), only the buttons are drawn (but not statText or Icons, e.g.) I tried TextBox() for my statText items but it drew nothing. Why do all these "programmer's companion" books dwell on modal dialogs and leave us modeless souls to fend for ourselves? -- ---Martin Thurn thurn@lcl.cmu.edu "Wow! Someone at CMU who doesn't have a bunch of numbers and plus signs in their name!"