Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!husc6!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: "different" controls for DLOGs Message-ID: <14282@unix.SRI.COM> Date: 17 Jul 90 23:26:12 GMT References: <3687@bingvaxu.cc.binghamton.edu> Reply-To: mxmora@unix.UUCP (Matt Mora) Distribution: na Organization: SRI International, Menlo Park, CA Lines: 32 In article <3687@bingvaxu.cc.binghamton.edu> consp21@bingvaxu.cc.binghamton.edu (Ken Hoover) writes: > > I'm working on a program where I'll need a double-arrow control to >step throuigh a set of values (like the RAM cache size control on the >Control Panel). Can someone please tell me how these controls are >defined, either with RMaker code or ResEdit? I'm working with THINK I believe that the double arrow controls are not cdef's but are small pictures. If you are going to use them in a dialog you create the pict of a double arrow button (or copy the pict from the system file) into your dialog in resedit. Make sure that the item is enabled and you set the resid to the id of the pict When you run your dialog,a click on your pict will return the itemhit. You now need to calculate on what half your pict was clicked on. This example probably won't help much but at least you won't have to create a cdef. >------------------------------------------------------------------------------ >Ken Hoover [ consp21@bingvaxu.cc.binghamton.edu | consp21@bingvaxa.BITNET ] -- ___________________________________________________________ Matthew Mora | my Mac Matt_Mora@sri.com SRI International | my unix mxmora@unix.sri.com ___________________________________________________________