Admin Production ni-theme
Current Publication

SetPanelCharacterSet

LabWindows/CVI

SetPanelCharacterSet

int SetPanelCharacterSet (int panelHandle, int characterSet);

Purpose

Specifies the character set to use for the panel title and controls.

Parameters

Input
Name Type Description
panelHandle int Specifier for a particular panel that is currently in memory. You can obtain this handle from functions such as LoadPanel and NewPanel.
characterSet int The character set you want all the fonts on the panel to use.

Note Note  The VAL_OEM_CHARSET, VAL_SYMBOL_CHARSET, and VAL_MAC_CHARSET values are not supported and will default to the System Codepage. You can modify the System Codepage with any of the other supported character sets.


You can select the following values:

Value Description
VAL_NATIVE_CHARSET Character set that corresponds to the language selected in the Control Panel for non-Unicode programs
VAL_ANSI_CHARSET Western character set
VAL_SHIFTJIS_CHARSET Japanese character set
VAL_HANGUL_CHARSET Korean character set
VAL_GB2312_CHARSET Simplified Chinese character set
VAL_CHINESEBIG5_CHARSET Traditional Chinese character set
VAL_HEBREW_CHARSET Hebrew character set
VAL_ARABIC_CHARSET Arabic character set
VAL_GREEK_CHARSET Greek character set
VAL_TURKISH_CHARSET Turkish character set
VAL_VIETNAMESE_CHARSET Vietnamese character set
VAL_THAI_CHARSET Thai character set
VAL_EASTEUROPE_CHARSET Eastern European character set
VAL_RUSSIAN_CHARSET Cyrillic character set
VAL_BALTIC_CHARSET Baltic character set

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 9.0 and later