Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!upstill From: upstill@ucbvax.BERKELEY.EDU (Steve Upstill) Newsgroups: net.micro.mac Subject: Technical problem: SetCtlVal bomb Message-ID: <11596@ucbvax.BERKELEY.EDU> Date: Wed, 29-Jan-86 13:47:01 EST Article-I.D.: ucbvax.11596 Posted: Wed Jan 29 13:47:01 1986 Date-Received: Sat, 1-Feb-86 02:35:38 EST Reply-To: upstill@ucbvax.berkeley.edu.UUCP (Steve Upstill) Organization: University of California at Berkeley Lines: 12 I am using the control definition function to provide my own control. In the Drag routine, I track the indicator with no problem, but when it comes time to reset the value of the control, SetCtlVal blows up (the Mac crashes). I can get get the value without problem, and can set the value by dereferencing the control handle and jamming the new value into the control record, and I can even call the Draw routine, but I can't seem to keep SetCtlVal from bombing. This is all happening in a modal dialog. Any clues? Thanks, Steve Upstill