upstill@ucbvax.BERKELEY.EDU (Steve Upstill) (01/29/86)
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