?
Solved

CListBox sorting questions

Posted on 2003-03-27
5
Medium Priority
?
235 Views
Last Modified: 2013-11-20
Hi,

I was wondering if it is possible to have a standard listbox without it being sorted.

To elucidate, i want the borders like LBS_STANDARD option give but I dont want the elements sorted. I
tried LBS_STANDARD&!LBS_SORT. While I got the non-sorted functionality, I lost borders.

Thanks in advance.

Regards,
Vishal

0
Comment
Question by:vkudchadkar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Accepted Solution

by:
LarryKing earned 80 total points
ID: 8222929
You should use LBS_STANDARD&(~LBS_SORT) instead of LBS_STANDARD&!LBS_SORT. Good luck.
0
 

Expert Comment

by:streetsmart
ID: 8226666
Try unchecking the sort check box  in the listbox properties dialog box for the list box and checking the border cehck box
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question