Sorting based on locale in c++

From: Gayathri (Gayathri_at_discussions.microsoft.com)
Date: 08/17/04


Date: Tue, 17 Aug 2004 07:01:03 -0700

Hi,
  I have list control, combo box in which strings (i.e names) are getting
populated from database. When the user changes locale in the Regional Options
and if the list control or combo box is refreshed the names in these controls
should be displayed as per locale. How can sorting be done in c++ based on
locale. Can any body provider me with sample.I don't want to write any
algorithm to achive this. I want to know if there is any WindowsAPI or
already defined algorithm which can be used.

Thanks,
Gayathri



Relevant Pages

  • Sorting based on locale in C++
    ... I have list control, combo box in which strings are getting ... When the user changes locale in the Regional Options ... already defined algorithm which can be used. ...
    (microsoft.public.vc.language)
  • Re: Sorting based on locale in c++
    ... When the user changes locale in the ... > Regional Options and if the list control or combo box is refreshed ... > the names in these controls should be displayed as per locale. ... CompareString with current user locale. ...
    (microsoft.public.vc.language)
  • Re: Sorting based on locale in C++
    ... > I have list control, combo box in which strings are getting ... > populated from database. ... When the user changes locale in the Regional ... > already defined algorithm which can be used. ...
    (microsoft.public.vc.language)
  • Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]
    ... They basically have regex tests, but nothing locale specific, since locale ... ordering is different from platform to platform (until Unicode Collation ... Algorithm will win). ...
    (freebsd-hackers)
  • Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]
    ... They basically have regex tests, but nothing locale specific, since locale ... ordering is different from platform to platform (until Unicode Collation ... Algorithm will win). ...
    (freebsd-current)