Setting SNiFF+'s look and feel (Windows NT/95 only)
In general, all Windows system settings are valid in SNiFF+. Flags set in your Preferences file (located in
<sniff_dir>\.UserPrefs
) tell SNiFF+ to apply these system settings to its look and feel. You can, however, change the value of these flags as desired.
The following flags affect SNiFF+'s look and feel:
WindowSystem.Look
WindowSystem.Feel
Env.Source
WindowSystem.NativeMenu
These flags are set in the following lines of code in
<sniff_dir>\.UserPrefs
:
"WindowSystem.Look" [ ]
"WindowSystem.Feel" [ ]
"
Env.Source
" [ ]
"
WindowSystem.NativeMenu
" [ ]
A flag's value is given by a number in the brackets ( [ ] ). Initially, these brackets are empty, meaning that the flag's default value applies.
Setting SNiFF+'s look
SNiFF+'s look is set by the
WindowSystem.Look
flag. SNiFF+ can have one of three looks:
- Windows NT/95 (default look)
- Motif
- ET++
To use the Windows NT/95 look
WindowSystem.Look
to 2, like this:
"WindowSystem.Look" [ 2 ]
To use the Motif look
WindowSystem.Look
to
1
, like this:
"WindowSystem.Look" [ 1 ]
To use the ET++ look
WindowSystem.Look
to
0
, like this:
"WindowSystem.Look" [ 0 ]
Setting SNiFF+'s feel
SNiFF+'s feel is automatically set to match the corresponding look. For example, if the Windows 95 look is set, the Windows 95 feel will also be set.
If you want to change SNiFF+'s feel, you can do so with the
WindowSystem.Feel
flag.
SNiFF+ can have one of three feels:
To use the Windows NT/95 feel
WindowSystem.Feel
to
2
, like this:
"
WindowSystem.Feel
" [ 2 ]
To use the Motif feel
WindowSystem.Feel
to
1
, like this:
"
WindowSystem.Feel
" [ 1 ]
To use the ET++ feel
WindowSystem.Feel
to
0
, like this:
"WindowSystem.
Feel
" [ 0 ]
Overriding operating system color settings
By default, your operating system's color settings are applied to SNiFF+'s user interface. You can use the
Env.Source
flag to apply the settings in your Preferences instead.
To use the color settings in your Preferences
Env.Source
to
0
, like this:
"
Env.Source
" [ 0 ]
Using ET++ menus
By default, native Windows 95 menus are used in SNiFF+. You can use the
WindowSystem.NativeMenu
flag to use ET++ menus instead.
To use ET++ menus
WindowSystem.NativeMenu
to
0
, like this:
"
WindowSystem.NativeMenu
" [ 0 ]