다음을 통해 공유


Console Registry Settings (Windows CE 5.0)

Send Feedback

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

The following code example shows a complete console registry settings.

[HKEY_LOCAL_MACHINE\Drivers\Console]
    ;Font to be used for the text
    "Font"=dword:LOC_CONSOLEFONTNAME
    ;Size of the characters to use
    "Size"=dword:LOC_CONSOLEFONTSIZE
    ;Set to 1 to force a full repaint of the whole row. Typically set to 1
    ;for East Asian languages. Set to 0 for default paint behavior
    "PaintRow"=dword:LOC_CONSOLEPAINTFIX

See Also

Shell Registry Settings

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.