473,388 Members | 1,346 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

How to set the gap of each row in vertical direction in listview

Hi All,

I ceate a class which inherit from listview, and set the 'view' property to
'LargeImage'. also i overide the 'OnPaint(...)' method. I observe that the
gap of each row is always 22 pixels (I calculate this value in OnPaint(..)
method, through calculate the item's Bounds). Anybody know how to set the gap
of each row?

Thanks.
Nov 17 '05 #1
0 891

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Uncle Pirate | last post by:
This has me stumped. I am trying to use as little space as possible at the top of my document but Firefox/Mozilla insists on placing vertical space before any element. IE displays it correctly...
0
by: Tasneem | last post by:
I am trying to replicate the functionality/display of the MS Outlook attachment box. I now know how to gather the file type icons and I'm able to use them in my listview with its' view property...
4
by: tJ | last post by:
I am trying to replicate the functionality/display of the MS Outlook attachment box. I now know how to gather the file type icons and I'm able to use them in my listview with its' view property...
1
by: Mike | last post by:
Does anyone have example code for an API call to put direction arrow images on a listview header indicating sort order. I need this for VB.ne Thanks
2
by: Gene Hubert | last post by:
I'm assigning a new datasource (a datatable) to a datagrid that is aready displayed in a form. Then I assign a new value to CurrentRowIndex. The datagrid always scrolls so that the new current...
6
by: gerry.brennan | last post by:
Hi is there a way to change the color of the vertical gridline in a datagrid or listview
0
by: Dave Kelly | last post by:
Using .NET 2 . I am trying to get a vertical scrollbar with the ListView control, when in the List view mode. The default behaviour when the number of items exceeds the vertical length is to...
0
by: inandout | last post by:
Hi, I was wondering if anyone can help me with this. I have a listview that is specified to a size of: 348W x 308H When items are added to it, no problems. However when items continue to be...
4
by: marfola | last post by:
I'm trying to implement bottom-to-top vertical text using CSS attributes in IE : writing-mode: tb-rl; filter: flipv fliph; But I have encountered the following: the text is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.