Name the key anything you want, as long as it doesn??™t
conflict with a existing key name. Bonus points for a nice, descriptive
key name.
Some settings are divided into groups, such as Hidden files
and folders, which contains two radio buttons. You can create
a new group using the existing Hidden key as a template.
Then, add new entries to your group by placing subkeys
inside your new group key.
6. The values inside each key determine the properties of the corresponding
setting. Feel free to fish around the existing keys for examples.
Start by adding a new string value to your key named Text, and then
double-click it to enter the caption of the new entry. When you??™re done,
add another string value named Type, and type either group, checkbox, or
radio as the value??™s contents. These two values, plus the others that
determine how your new setting looks in the Folder Options window,
are explained in Table 3-2.
106 | Chapter 3: The Registry
7. Next, add values??”explained in Table 3-3??”to specify what happens
when a specific item is turned on or off in the Folder Options window. For
radio and checkbox items, you??™ll need the following values: HKey-Root,
RegPath, ValueName, and CheckedValue. (This step isn??™t necessary if your
item is a group.)
Table 3-2. Visual properties of Folder Options items
Value name Datatype Description of value contents
Type String This can be set to either group, checkbox, or radio, representing a
folder, checkbox, or radio button, respectively.
Pages:
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166