Partager via


CListBox::GetLocale

Retrieves the locale used by the list box.

LCID GetLocale( ) const;

Return Value

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

Remarks

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

Example

See the example for CListBox::SetLocale.

Requirements

Header: afxwin.h

See Also

Concepts

CListBox Class

CListBox Members

Hierarchy Chart

CListBox::SetLocale

GetStringTypeW

GetSystemDefaultLCID

GetUserDefaultLCID