is there, at any chace, possible to have a multiline listbox?
i searched on forum but didn't find anything :(


if there is a way not doing it by ownerdrawing i will be very pleased :grin:
Posted on 2003-03-19 16:45:34 by NEMO
There are two line styles for edit controls. The default is a single-line edit control that doesn't require an associated style. An application can create a multiline edit control by using the ES_MULTILINE style.

Just add ES_MULTILINE to the style of your editbox.

EDIT: multiline listbox? The morning is making me see wrongly.... I check it out for you later.
The closest I could find is LBS_MULTICOLUMN
Posted on 2003-03-19 19:02:58 by roticv
i manage to do it (i'm not gooad at GUI stuff but it works)
i've modyfied a little the ListBoxOwnerDraw from radasm pack
but there are few things that i don't know how to overeat
does anyone have nay idea how to wrap too long text........:confused:
Posted on 2003-03-20 04:41:47 by NEMO
i've found some time (and will :grin: ) and I manage to finishthis stuff.
now it works great and supports word-wrapping :)
Posted on 2003-06-27 06:52:27 by NEMO
okey, another way of adjustment simple ListBox

now you are able to set color to every single char
Text that your are adding has to be formated like this:
{#000000#}Made by {#FF0000#}NEMO{#0000FF#}!!!!!{#FF00FF#}
values are the same as you use in HTML: RRGGBB
it looks like this:
Posted on 2003-06-30 08:52:24 by NEMO
and here is the zip
the code is very crapy so don't freak out ;)
maybe later i'll add word-wraping support and improve the algo.... :grin:
Posted on 2003-06-30 08:54:18 by NEMO