|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
LB_GETLOCALE
An application sends an LB_GETLOCALE message 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_ADDSTRING message.
LB_GETLOCALE
wParam = 0; // not used; must be zero
lParam = 0; // not used; must be zero
Parameters
This message has no parameters.
Return Values
The return value is a 32-bit value that specifies the current locale of the
list box. The high-order word contains the country 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 PRIMARYLANGID macro to extract the primary language identifier from the low-order word of
the return value, and the SUBLANGID macro to extract the sublanguage identifier.
See Also
LB_ADDSTRING, LB_SETLOCALE, PRIMARYLANGID, SUBLANGID
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|