Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This message is sent by an application to retrieve the current locale of the list box. You can use the locale to determine the correct sorting order of displayed text for list boxes with the LBS_SORT style and of text added by the LB_ADDSTRINGmessage.
Syntax
LB_GETLOCALE wParam = 0; lParam = 0; |
Parameters
- wParam
-
Not used.
- lParam
-
Not used.
Return Value
The return value is a 32-bit value that specifies the current locale of the list box. The high-order word contains the locale code and the low-order word contains the language identifier.
Remarks
The language identifier consists of a sublanguage identifier and a primary language identifier. Use the PRIMARYLANGIDmacro to extract the primary language identifier from the low-order word of the return value, and the SUBLANGIDmacro to extract the sublanguage identifier.
Requirements
Header | winuser.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |