Visual Basic Foro

Programación => Visual Basic 6 => Mensaje iniciado por: polosa en Octubre 25, 2010, 07:54:41 am

Título: [Problem] ListView Example of multi-line functions
Publicado por: polosa en Octubre 25, 2010, 07:54:41 am
Hi All

My English is not good.

I would like to know how to reach this functionality, using vb

i use listview + NM_CUSTOMDRAW ?????, But can not understand its function form Multi-line

(http://img696.imageshack.us/img696/9271/snap1cx.jpg) (http://img696.imageshack.us/i/snap1cx.jpg/)
Título: Re:[Problem] ListView Example of multi-line functions
Publicado por: LeandroA en Octubre 25, 2010, 08:30:24 pm
I do not know how to change the size of the item, if you like changing the row backcolor, text color, and font, I have an example

you have the example shown in the picture?, if so, upload it to some hosting and see what can be done

Saludos.
Título: Re:[Problem] ListView Example of multi-line functions
Publicado por: Zeroback en Octubre 30, 2010, 12:40:44 am
A viable solution could be to create a bitmap of the same background color for the listitem, for heigh can use measures such as 22x22 or 36x36 in pixels as required.
Título: Re:[Problem] ListView Example of multi-line functions
Publicado por: Zeroback en Octubre 30, 2010, 12:48:16 am
A viable solution could be to create a bitmap of the same background color for the listitem, for heigh can use measures such as 22x22 or 36x36 in pixels as required.

Load the bitmap to ListImage control and allocate ListView control to the Icon property, Add a listitem and assign the image index to Icon property of the ListItem.


Greetings.
Título: Re:[Problem] ListView Example of multi-line functions
Publicado por: polosa en Octubre 30, 2010, 08:01:26 pm
hi I have uploaded and written examples, please help me find

test.zip (http://FileDeck.net/zh-tw/files/SWGTPRDH/test.zip)