The Locale Explorer: LCMapString
(and a custom-draw CListCtrl with multiple fonts and color)

Home
Back To Tips Page

Back to LocaleExplorer

This is an example of using LCMapString. The code in the lower edit control is the code that would be written to retrieve the highlighted feature. This code can be copied and pasted into an application and either used directly or form the basis of your own code. The custom-draw CListCtrl shows the various mappings for the LCMAP_SORTKEY option with syntax highlighting and a fixed font for that column.

The interpretation of the display columns is as follows

This screen appears to resemble the CompareString screen.  This is not coincidence; the CLCMapString class is a derived class of the CCompareString class.

[Dividing Line Image]

The views expressed in these essays are those of the author, and in no way represent, nor are they endorsed by, Microsoft.

Send mail to newcomer@flounder.com with questions or comments about this web site.
Copyright 2005 Joseph M. Newcomer/FlounderCraft Ltd.  All Rights Reserved.
Last modified: May 14, 2011