GenValue Ranges

Edward Di Geronimo Jr. (edwdig@bergen.org)
Sun, 8 Sep 1996 18:13:27 -0400

I went back to the application version of my mixer and I found out what my
problem with the sliders is. I learned how to track messages with swat, and
it said that when I drag the slider, it's generating a
MSG_GEN_VALUE_SET_RANGE_VALUE message instead of a MSG_GEN_VALUE_SET_VALUE
message. It also isn't generating an apply or status message. These messages
aren't documented or prototyped in gvaluec.goh/def, so I took a guess and
tried using the same prototype as the message I was expecting. I tried
having it trap the SET_RANGE_VALUE message and have it call the SET_VALUE
message, and it's working better than it used to, but if you drag it
multiple numbers, it'll still be off by one.

Anybody know anything about this?

Also, I tried swatting my Preferences module, and it's crashing with DEATH
DUE TO INVALID HANDLE. I'm pretty sure it has to do with my moniker list.
Here's the one line of code in the docs on it that I don't understand:

moduleInfo->PMI_monikerList = @MonikerList;

I checked the config.def file, and this is what it said:

PMI_monikerList optr
; Moniker list in a shared, lmem, read-only resource that will be
; used as the module's trigger

I tried putting the following into a resource set like it said, but it
didn't work:

@visMoniker MonikerList = list { @MixerTextMoniker, @Moniker0,
@Moniker1, @Moniker2 };

I also tried putting the monikers in that resource with it, and in seperate
resources. All crash with the Invalid Handle error.

- -------------------------------------------------------------------
| "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 |
- -------------------------------------------------------------------