Print Page | Close Window

How to sort the content of a CComboBoxEx

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=10084
Printed Date: 05 July 2024 at 7:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to sort the content of a CComboBoxEx
Posted By: mgampi
Subject: How to sort the content of a CComboBoxEx
Date Posted: 04 April 2008 at 8:32am
Hi;
 
does anyone know whether CComboBoxEx supports sorting like standard CCombobox does? I didn't find any help in MSDN, only that style CBS_SORT is not supported...


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: Oleg
Date Posted: 04 April 2008 at 9:19am
Hi,
Yes, CComboBoxEx  doesn't support sorting. Just sort your list manually before insert it to combo.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mgampi
Date Posted: 04 April 2008 at 9:49am
Thanks Oleg!
I only wanted to be certain.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net