CB_GETLOCALE message
Gets the current locale of the combo box. The locale is used to determine the correct sorting order of displayed text for combo boxes with the CBS_SORT style and text added by using the CB_ADDSTRING message.
Parameters
- wParam
-
Not used; must be zero.
- lParam
-
Not used; must be zero.
Return value
The return value specifies the current locale of the combo box. The HIWORD contains the country/region code and the LOWORD contains the language identifier.
Remarks
The language identifier is made up of a sublanguage identifier and a primary language identifier. The PRIMARYLANGID macro obtains the primary language identifier and the SUBLANGID macro obtains the sublanguage identifier.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Reference
- CB_ADDSTRING
- CB_SETLOCALE
- Other Resources
- HIWORD
- LOWORD
- PRIMARYLANGID
- SUBLANGID
Send comments about this topic to Microsoft
Build date: 10/27/2012
