Re: GenValue Dragging

GWRepJohnH@aol.com
Mon, 2 Sep 1996 11:26:53 -0400

Ed D. posted:
>>>>>I got my earlier problem to work by setting GVI_applyMsg to a message I
made
and writing a handler for it. But I came across a strange problem. If I
click above or below the bar to move it, it generates an apply message as it
should. But if I drag the bar, it doesn't generate an apply message.<<<<<

Here's what you need to do Ed. Intercept SG_GEN_VALUE_SET_VALUE for your
analog GenValue subclass. It gives you _value_ which you can read and do with
what you will in your method. There is a comment in the doc's discussion of
this message that it is used internally to update the GenValue's instance
data after any user input to the GenValue's UI. Thanks to Mike Gile for
pointing this out to me a few months ago!

One other thing to be aware of is that you CANNOT use the display max and min
value hints on an alanog GenValue in C. It's just not implemented correctly

Hope this helps...
John ;-)