Separating list box items by horizontal lines

Hello All

I am wondering whether it is possible to separate entries in a list box by horizontal lines.

I look forward to a reply.


Best Regards

Asif
AsifMughalAsked:
Who is Participating?
 
chensuConnect With a Mentor Commented:
Create an owner-draw list box or simply use underscore "_______" or minus sign "-------".
0
 
naveenkohliCommented:
Look at this article on codeguru... its exactly what you are looking for. I has been written using ATL but you can modify it to use it for ownerdraw listbox in MFC
..


Superclassed Ownerdrawn Standard Windows Control Using ATL

http://www.codeguru.com/atl/atlsuperclasswnd.shtml
0
 
qocarlosCommented:
Why you don't just use a List Control instead of a list box?

With a List Control you can easyly add horizontal or vertical lines to separate the list items.

0
All Courses

From novice to tech pro — start learning today.