Command Processor Registry Settings

The console registry stores information necessary to configure console window. The console registry entries are located under the HKEY_LOCAL_MACHINE\Drivers\Console registry key.

To set the font used for text in the console window, set the Font registry entry to the name of the font that you want to use. The default value for this registry entry is LOC_CONSOLEFONTNAME. The following code example shows how to set the Font registry entry.

"Font"=LOC_CONSOLEFONTNAME

To set the size of the characters in the console window, set the Size registry entry to a value of type REG_DWORD. The default value for this registry entry is LOC_CONSOLEFONTSIZE. The following code example shows how to set the Size registry entry.

"Size"= dword:LOC_CONSOLEFONTSIZE

To control the repainting behavior of the console window, set the PaintRow registry entry to a value of type REG_DWORD. Set this value to 1 to force a full repaint of the whole row. You typically set this value to 1 for East Asian languages. Set this value to 0 for default paint behavior. The default value for this registry entry is LOC_CONSOLEPAINTFIX. The following code example shows how to set the PaintRow registry entry.

"PaintRow"= dword:LOC_CONSOLEPAINTFIX

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.