Slider dragging fixed, but other problems

Edward Di Geronimo Jr. (edwdig@bergen.org)
Fri, 27 Sep 1996 21:43:32 -0400

I finally got dragging the sliders to work. I tried adding various hints
(don't know which made the difference), and it caused the message being sent
to change from MSG_GEN_VALUE_SET_RANGE_VALUE, which is undefinded in the
header files, to MSG_GEN_VALUE_SET_VALUE_FROM_RATIO, which is defined. I
intercepted it and had it callsuper then send out a status message.

Anyway, I have one problem left. I set the default GVI_maximum to be 7, as
the SB 2.x & 3.x allow volume settings between 0 and 7. But the SB16 and
higher allow settings from 0 to 31. So in the open application handler I
check the card version and make the changes approprietly. But when I change
the maximum with MSG_GEN_VALUE_SET_MAXIMUM it effectively disables the
slider. It doesn't grey it out or anything, it just refuses to allow me to
change the value. I tried sending a MSG_GEN_SET_ENABLED message to the
sliders, but that didn't do anything. Ideas?

-------------------------------------------------------------------
| "You never really understand a person until you consider things |
| from his point of view----until you climb into his skin and |
| walk around in it." |
| -- Atticus Finch, Harper Lee's "To Kill a Mockingbird" |
-------------------------------------------------------------------
| Edward Di Geronimo Jr. edwdig@bergen.org |
-------------------------------------------------------------------