title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LB_GETLOCALE message (Winuser.h) |
Gets 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\_ADDSTRING message. |
ec814b03-5ce2-4b81-a36c-ab4c115f88be |
|
|
|
|
|
reference |
05/31/2018 |
Gets 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_ADDSTRING message.
-
wParam
-
Not used; must be zero.
-
lParam
-
Not used; must be zero.
The return value specifies the current locale of the list box. The HIWORD contains the country/region code and the LOWORD contains the language identifier.
The language identifier consists of a sublanguage identifier and a primary language identifier. Use the PRIMARYLANGID macro to extract the primary language identifier from the LOWORD of the return value, and the SUBLANGID macro to extract the sublanguage identifier.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
-
Reference
-
Other Resources