Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!ncar!boulder!tramp!hartkopf
From: hartkopf@tramp.Colorado.EDU (Jeff Hartkopf)
Newsgroups: comp.sys.apple
Subject: making an invisible button in a dialog box
Message-ID: <12312@boulder.Colorado.EDU>
Date: 3 Oct 89 01:04:47 GMT
Sender: news@boulder.Colorado.EDU
Reply-To: hartkopf@tramp.Colorado.EDU (Jeff Hartkopf)
Organization: University of Colorado, Boulder
Lines: 16


How would you do this with the IIGS toolbox:  make an invisible
buttonItem with NewDItem() in a dialog, (no button outline or words).
It still has to be treated like a normal button in that ModalDialog() will
return the ID of that button if the mouse is clicked in its rectangle.
It has to let anything behind it in the dialog box "show through"; i.e.
if some words drawn with DrawString() are behind the invisible button
they have to show through.

Thanks very much.


Jeff Hartkopf

Internet:
hartkopf@tramp.Colorado.EDU