GenValue is definately buggy

Edward Di Geronimo Jr. (edwdig@bergen.org)
Tue, 3 Sep 1996 20:37:41 -0400

- --=====================_841808470==_
Content-Type: text/plain; charset="us-ascii"

Has anybody gotten dragging GenValue sliders to work? I'm convinced it's
buggy. Attached is a version that doesn't work with the SoundBlaster so
anyone can test it, as only the UI matters in this case. Also included is my
icon editor file, in case anyone has a clue why it's screwed up.

Make sure that Lock is on.
Click a slider down to 1.
Click to move the slider to 2. The matching one should move to 2.
Now drag the slider to 3. The matching one won't move.
Using the same sliderd, click to move it to 4. The matching one will move to
3 instead of 4.

My @method works by @call'ing the slider to find out it's current position,
then setting the SoundBlaster and the matching slider to the value it just
read. What that means is that Motif is updating the value that's being
displayed, but not the instance that gets reported to me. I just proved that
it was a bug in Motif. Copy the file PM.GEO from the SDK CD's
\TARGET\GEOS2XNC\SYSTEM to GEOS20\SYSTEM, and in GEOS.INI go to the [ui]
section and add the line "specific=pm.geo". Now try the above exercise. On
the last step they will move to the same position, as they should. It still
didn't notify me on the drag, but I took out the hints related to dragging
since they didn't work, so now I'm going to try putting them back in and see
what happens. Ok, neither IMMEDIATE or DELAYED worked in Presentation
Manager. So, Motif has a bug, and I have to find another way to handle it
for Presentation Manager. I tried trapping the MSG_GEN_VALUE_SET_VALUE
message (which it said is used internally to set the value after user
interaction), but that didn't work under Motif. I didn't try it under PM.
I'm pretty sure I trapped the message properly, but I'm not totally sure. I
trapped it the same way I did the open application message, except I
subclassed GenValueClass, as that was the only way I could get GOC to like
it. If somebody has the time, could you please write me up an example
showing me the right way to trap a message not under the Primary or Process
classes (preferably from GenValue)? The concepts book didn't say how to trap
an existing message.

BTW, where's the help editor, and are there help files for Icon Editor and
ResEdit ?

- --=====================_841808470==_
Content-Type: application/octet-stream; name="MIXERTST.ZIP"
Content-Transfer-Encoding: x-uuencode
Content-Disposition: attachment; filename="MIXERTST.ZIP"

begin 600 MIXERTST.ZIP
M4$L#!!0``@`(`'6D(R$O:V@'IPD``-X9```)````34E815(N1T5/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(`"`"=GB,A:K0NE(X$```H#P``#````````````"````#."0``141?24-/
<3E,N,#`P4$L%!@`````"``(`<0```(8.````````
`
end

- --=====================_841808470==_
Content-Type: text/plain; charset="us-ascii"

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

- --=====================_841808470==_--