UsersLanguage Control Attribute

If this bit flag is set, fonts are created using the user's default UI code page. If the bit flag is not set, fonts are created using the database code page.

Valid Controls







Decimal Hexadecimal Constant
1048576 0x00100000 msidbControlAttributesUsersLanguage



This control attribute can be used to display text that the user has entered into an Edit or PathEdit control.

The Edit control, PathEdit control, DirectoryList control and DirectoryCombo control always use the fonts created in the user's default UI code page. This can cause problems if additional languages have been installed on the operating system. In this case, the fonts on the computer may not be able to represent all the characters in the added languages. To determine what fonts can be used, look up the values in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink.

For more information, see Control Attributes and Controls.