共用方式為


CComboBox::GetLocale

Retrieves the locale used by the combo box.

LCID GetLocale( ) const;

Return Value

The locale identifier (LCID) value for the strings in the combo box.

Remarks

The locale is used, for example, to determine the sort order of the strings in a sorted combo box.

Example

See the example for CComboBox::SetLocale.

Requirements

Header: afxwin.h

See Also

Concepts

CComboBox Class

CComboBox Members

Hierarchy Chart

CComboBox::SetLocale

GetStringTypeW

GetSystemDefaultLCID

GetUserDefaultLCID