Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!uw-june!marty From: marty@june.cs.washington.edu (Marty Sirkin) Newsgroups: comp.sys.mac.programmer Subject: Several MAC programming questions Message-ID: <7236@june.cs.washington.edu> Date: 10 Feb 89 04:46:35 GMT Distribution: usa Organization: U of Washington, Computer Science, Seattle Lines: 28 I have several programming questions which I cannot find simple answers to, and which I expect some wise person on the net can answer quite quickly. Here goes: 1) Is there any way to "remove" quickdraw calls from a picture definition? (clearly one could build a list of the quickdraw calls, and rebuild the picture, but I'm looking for something simpler). 3) I defined a simple modal dialog with ResEdit, and put the following code in a procedure: VAR t_ptr : dialogptr; BEGIN t_ptr := getnewdialog(dial_num, NIL, windowptr(-1)); showwindow(t_ptr) I get the dialog (mostly) just fine. But for some reason, the STATIC text items did not appear! I defined them as DITL items which were static text, and non-enabled. I have further, another dialog in which only some items appear (the static and editable text do not), and when I try to highlight one of the items, the system gets an address error (it seems to be getting a bad address back from the getditem call. Any ideas? I appreciate any and all help. Posting, or E-mail. Marty Sirkin