Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!uhccux!munnari.oz.au!murtoa.cs.mu.oz.au!murdu!ucsvc!wehi!jon From: jon@wehi.dn.mu.oz (Jon Eaves) Newsgroups: comp.sys.mac.programmer Subject: Dialog Problems Message-ID: <331@wehi.dn.mu.oz> Date: 17 Jul 89 16:22:14 GMT Organization: Walter & Eliza Hall Institute Lines: 31 Hi Net, I have a very small problem, but I have no idea how to fix it. I created a DLOG and associated DITL in ResEdit (thanks Luke), and ResEdit displays the DLOG with the DITL list properly. There are 6 items. The first two are buttons and the rest are static/editable text. I have a trivial program based on the below : (written in LSC 3.01) main() { InitStuff(); OpenResFile("\pRFile.rsrc"); myDialog=GetNewDialog(myDLOGref,0,-1); } The dialog gets drawn on the screen, but only the first two items are drawn in it????? ( the OK/Cancel buttons ). What's wrong?, Have I fallen into 'Trap for Beginners #1 of 999' -------------------------------------------------------------------------------- Jon Eaves Walter and Eliza Hall Institute for Medical Research. It's never too late to learn, but we sometimes learn when it's too late. ACSnet ( jon@wehi.dn.mu.oz ) UUCP ( uunet!munnari!wehi.dn.mu.oz!jon ) Internet ( jon%wehi.dn.mu.oz@uunet.uu.net ) --------------------------------------------------------------------------------