4: Common Windows Desktop Settings (continued)
Key Name Value Name Value Type
Default
Value
SETTING THE ENVIRONMENT 83
Creating the LOGFONT data structure is a complex undertaking. It contains 14 data fields that
you must define as part of the data entry. Constructing the required binary data by hand isn??™t
impossible, but it can be quite difficult. You can find a description of the LOGFONT data structure
at http://msdn2.microsoft.com/en-us/library/ms533931.aspx.
You could also modify the console (command prompt) settings in the registry if desired by
changing the values under the HKEY_CURRENT_USER\Console key. However, the process described
in the ???Configuring the Command Window??? section of Chapter 2 is significantly easier and less
error prone. You may see additional keys under the HKEY_CURRENT_USER\Console key. These
additional keys will have the titles of command prompts that you open and contain the settings for
those command prompts. Each unique command prompt title can have its own settings. Consequently,
you can do things like create command prompts with different colors for specific tasks.
Setting the Environment
Normally you use the Environment Variables dialog box to set both user and system environment
variables.
Pages:
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262