Hi all,

I searched the forum but couldn't find an answer, can some one please tell me how to use the (Tab / 0x19) char in a ListView? All I see is a strange char instead of the tab.

I need this for formatting the text in the ListView, should I could a formatting procedure my own, or there's a way to use (0x19) ?

Thanks

CuTedEvil
Posted on 2003-10-24 05:55:39 by CuTedEvil
Tab is actually 0x09 not 0x19...
Posted on 2003-10-24 09:13:26 by Morris
Yeah, Morris, 0x09 I wrongly copied it.
So, any help?

CuTedEvil
Posted on 2003-10-24 14:42:06 by CuTedEvil
I don't think listview supports the tab character (few controls actually do) but you can always use custom drawn items... though it could be a bit overkill. :grin:
Posted on 2003-10-24 21:14:54 by QvasiModo

I don't think listview supports the tab character (few controls actually do) but you can always use custom drawn items... though it could be a bit overkill. :grin:
A custom drawn items with *tab character* support. Any help how to do so? :confused:

CuTedEvil
Posted on 2003-10-25 07:29:44 by CuTedEvil
Sorry, I've been searching the board and google and couldn't find anything on custom drawn listview items (except for changing the font and color). In this case you actually have to draw the text yourself...
I guess it's MSDN and studying the APIs then. :(
Posted on 2003-10-25 10:32:32 by QvasiModo
Thanks QvasiModo,
I've been doing the same with no luck. I'll try 2 do sth. :mad:

CuTedEvil
Posted on 2003-10-25 14:22:41 by CuTedEvil
CutedEvil,

Mabye Insted of sending a TAB key, you can create a var:

cTab db " ",0

with 4 spaces and add it to any formating you want.
well i know its ugly but i guess its better thanhaving weird chars ;)
Posted on 2003-10-25 23:58:32 by wizzra