Hello,
I am trying to use a list box control in a dialog based app and I want to format the output that is displayed in the list box like so:
but I cant get the strings to line up properly under the headings because the font is a variable size. so I end up with something like this:Code:Item description cost tax first item here $22.00 $1.00 next item here $22.00 $1.00
it depends on the characters used in the description how the string is displayed.Does anyone know how I can deal with this cause I am at a loss. the only other thing I can think of to do is make a differnt list boxes for each catagory and use one scroll bar for all 3 listboxes so that way the everything lines up. But can you send a scroll notification to a list box so that it will scroll up or down one line? Not sure how to do it. if anyone can help I would sure appreciate it.Code:Item description cost tax first item here $22.00 $1.00 next item here $22.00 $1.00 anouther item here $22.00 $1.00