GenApp
\--GenPrimary (No file menu, no taller, no wider, not maximizable)
\--GenInteraction (Holds Everything, no taller, no wider)
|--GenInteraction (Holds toggle buttons, no taller, expand width)
|--GenTrigger (Exit, GenApp::MSG_META_QUIT)
|--GenTrigger (Mixer, MixerGroup::MSG_GEN_SET_(NOT_)USABLE) (toggle)
\--GenTrigger (Wav, WavGroup::MSG_GEN_SET_(NOT_)USABLE) (toggle)
|--GenInteraction (Mixer program, no taller, no wider) (widest one)
\--GenInteraction (Basically wav sample app, no taller, expand width)
When I start the program, I have the mixer and wav groups with GS_USABLE
unset. That caused the program to start with a window sized around the
buttons. Once you click a toggle the window expands to fit it. If you toggle
back off, the window height shrinks but the width doesn't. Which is what I
want. But I want the window width to start out at that width. I know I can
force the window width, but that won't work right as the sliders expand for
the SoundBlaster 16 and higher. To get around it, I started the program off
with the mixer set to usable, and in the open application message I unset
the usable. But that flashes the mixer on the screen for a second. I want to
eventually store which ones you have showing and which you don't in the ini
file, so this method will get kinda awkward as modules will be flashing on
and off. So, can I set the width to that of the mixer without having it set
usable?
-------------------------------------------------------------------
| Edward Di Geronimo Jr. edwdig@bergen.org |
-------------------------------------------------------------------