Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!ncar!boulder!tramp!hartkopf From: hartkopf@tramp.Colorado.EDU (HARTKOPF JEFFREY M) Newsgroups: comp.sys.apple Subject: IIGS toolbox programming questions Message-ID: <8935@boulder.Colorado.EDU> Date: 20 May 89 07:21:21 GMT References: <8905191342.AA20617@obsolete.UUCP> Sender: news@boulder.Colorado.EDU Reply-To: hartkopf@tramp.Colorado.EDU (HARTKOPF JEFFREY M) Organization: University of Colorado, Boulder Lines: 21 I have a couple of questions for some Apple IIGS toolbox wizard :-) out there. I'd greatly appreciate any answers, but please give any examples in Pascal or C since I don't know assembly. Thanks. 1) How does one disable (dim) and enable a menu? I know you can do this to a menu ITEM with the toolbox calls DisableMItem and EnableMItem, but I can't seem to find out how to dim a menu itself. 2) How would you make a button in a custom dialog box (say a Cancel button) correspond to a keypress (like Apple-. or Esc)? The default button seems to automatically correspond to Return, but what about others? 3) How would you display standard icons in a custom dialog box? 4) How do you activate the arrows of a scroll bar in a custom dialog box? I can move the white box along the bar with the mouse, but nothing happens when I press the mouse on the end arrows or the shaded part inside. Thanks so much for any help. -- Jeff Hartkopf