By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,578 Members | 1,006 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,578 IT Pros & Developers. It's quick & easy.

How to control the height of lines in list view?

P: n/a
How to control the height of lines in list view?

Hi, friends:

I just want to set the height of lines in list view.( not the height of
font )
But I didn't find a property to do that.

Now, I have to insert an empty image for each line to make it heighter.

Could you tell me some other better way?

Thanks
CYShao
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You could owner-draw the listview items and when the MeasureItem comes
along, give it the height you like.

--
Bob Powell [MVP]
C#, System.Drawing

The October edition of Well Formed is now available.
Find out how to use DirectX in a Windows Forms control
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Blog http://bobpowelldotnet.blogspot.com

"CYShao" <cy****@jfsys.com> wrote in message
news:uD**************@TK2MSFTNGP11.phx.gbl...
How to control the height of lines in list view?

Hi, friends:

I just want to set the height of lines in list view.( not the height of
font )
But I didn't find a property to do that.

Now, I have to insert an empty image for each line to make it heighter.

Could you tell me some other better way?

Thanks
CYShao

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.