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
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
Tab is actually 0x09 not 0x19...
Yeah, Morris, 0x09 I wrongly copied it.
So, any help?
CuTedEvil
So, any help?
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:
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:
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. :(
I guess it's MSDN and studying the APIs then. :(
Thanks QvasiModo,
I've been doing the same with no luck. I'll try 2 do sth. :mad:
CuTedEvil
I've been doing the same with no luck. I'll try 2 do sth. :mad:
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 ;)
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 ;)