Re: Slider dragging fixed...

GWRepNate@aol.com
Sat, 28 Sep 1996 12:03:56 -0400

In a message dated 96-09-28 11:13:02 EDT, edwdig@bergen.org (Edward Di
Geronimo Jr.) writes:
> I was using 31.0 as the value, as I thought that took care of it, but I
> guess not. MakeWWFixed(31) took care of it. Now, for (hopefully) my last
> question on this program:

What happened is 31.0 turned into simply 31 as a dword, and that when
interpreted as a WWFixed is something like 0.00000000001. Thus you couldn't
increment the GenValue from 0.

> Is there a way to tell the geometry manager to recompute all my geometry?
> Changing the max of the sliders to 31 causes the sliders to spread out as
> they need more room to display a double digit number. But that causes the
> text and buttons to the right of the slider to move underneath the
sliders.
> There's more than enough screen space for everything to fit across. How
can
> I tell the geometry manager to recompute the placement?

I suppose rearranging the sliders is out of the question? You could try
grouping the sliders inside GenInteractions and putting a HINT_FIXED_SIZE on
the group. That way it won't grow or shrink. You'll have to guess at the
dimensions until you get it just right.

Nathan