ListView - Why do all ListView's have a Bottom Gap?
Just trying to add a listview (in Report mode in VC++ using Win32 Apis) and noticed that no matter what i do there is always a bottom gap just after the last item in my ListView. How do i get rid of this gap? I have turned on Grids and so this gap is very distracting.
Does anyone know?
Last edited by quantass; August 2nd, 2005 at 04:17 PM.
Re: ListView - Why do all ListView's have a Bottom Gap?
Originally Posted by quantass
Just trying to add a listview (in Report mode in VC++ using Win32 Apis) and noticed that no matter what i do there is always a bottom gap just after the last item in my ListView. How do i get rid of this gap? I have turned on Grids and so this gap is very distracting.
Does anyone know?
I'm not sure what 'gap' you're reffering to...Can you post a sample project illustrating this?
Re: ListView - Why do all ListView's have a Bottom Gap?
I don't understand. What gap ? Can you paste a small picture here ?
Also, note, how is it that the it is there always ? I would have thought it should appear depending on what the height of the list control is..
Re: ListView - Why do all ListView's have a Bottom Gap?
Ok i've posted a picture for you all..Notice just afterthe last item "Hide on Click" there is a vertical gap...What is that? I didnt add a blank item to the bottom. My last is "Hide on Click". How do i turn that feature off?
Re: ListView - Why do all ListView's have a Bottom Gap?
No. Think about it. You specify a control to be of certain size. Now, you fill in say , just 3 items, what is the controls supposed to do with the extra space ? Stretch all items to exactly fit ?
If that is what you want, you have to owner draw the control..
Re: ListView - Why do all ListView's have a Bottom Gap?
Thanks very much kirants...i think we are on different pages however, i was goofing around and just realized that it has to do with Inegral Heights that ListView uses. If i turn it off then the gap disappears which now makes sense.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.