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

This message is sent by an application to retrieve 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_ADDSTRINGmessage.


wParam = 0; 
  lParam = 0;



Not used.


Not used.

Return Value

The return value is a 32-bit value that specifies the current locale of the combo box. The high word contains the locale identifier and the low-order word contains the language identifier.


The language identifier is made up of a sublanguage identifier and a primary language identifier. The PRIMARYLANGIDmacro obtains the primary language identifier and the SUBLANGIDmacro obtains the sublanguage identifier.


Header winuser.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also