473,657 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Item Height on ListView

Hi all,

I wonder if there is a way to make the height of the row
of an item in a ListView larger than the default?

Any suggestion would be great.
Thank you once again!
regards,
Sean
Nov 16 '05 #1
2 10628
Sean wrote:
I wonder if there is a way to make the height of the row
of an item in a ListView larger than the default?


Hi,

it seems that there is either the possibility of an owner-drawn-control
or a "hack":

http://groups.google.de/groups?selm=...%40tkmsftngp11
http://groups.google.de/groups?selm=...%40comcast.com

Cheers

Arne Janning
Nov 16 '05 #2
Hi Arne,

Thank you for your reply. I will read the newsgroup link.
Thanks
Sean
-----Original Message-----
Sean wrote:
I wonder if there is a way to make the height of the row of an item in a ListView larger than the default?
Hi,

it seems that there is either the possibility of an owner-

drawn-controlor a "hack":

http://groups.google.de/groups?selm=OonM%24LpeCHA.1768% 40tkmsftngp11http://groups.google.de/groups? selm=006dnUfWxs Ny5ligXTWcpg%40 comcast.com
Cheers

Arne Janning
.

Nov 16 '05 #3

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

Similar topics

1
3398
by: Bob Geltz | last post by:
I am able to populate a ListView with several detail lines (several columns). When finished, I would like to pre-select the first item in the list (before the user interacts with the list). This way, if a user clicks on the OK button, there will be a default selection. I know how to use ListView.SelectedItems to get the selection, I just don't know how to make an item be selected without the user actually clicking on a line. For a...
2
6300
by: Coffee guy | last post by:
I need to locate an item in ListView, quickly. I have a listview with items, for each I added a unique "Tag" property. Is there a simple way to rapidly search through these items to find based on its Tag value? Tia, Stu
0
1110
by: Dan Bass | last post by:
Is it possible to have the item height of each item differing when selected? I've got a scenario where each item, when it is unselected, has the same height (OwnerDrawFixed). But when an item is selected, it's height changes to allow for inplace editing... OwnerDrawVariable gives you the chance to change the height of each list item (independent of a selection). Is there some option to allow you to change one item height when it is
5
37263
by: Richard Bond | last post by:
I'm having a lot of trouble programatically selecting a listview item. How do you do this? These didn't work for me in the context of the sub below (that's trying to move up an Item in the listview) MeasView.Items(ItemIndex - 1).Selected = True MeasView.Items(ItemIndex - 1).Focused = True I would really appreciate some help.
2
12896
by: yxq | last post by:
Hello I want to first item of listview selected automatically, i write the code, but it does not work. ListView1.Focus() ListView1.Item(0).Select = True Thanks
2
7045
by: yxq | last post by:
Hello, I want to hide an item in listview but not remove it, how to do? Thank you
0
1859
by: alcurb | last post by:
I have a ListView control populated with 30 items. ListView height only allows you to see 20 rows at a time. I want to drag an item to the bottom of the list (to the last row), but ListView control doesn't automatically scroll as my mouse leaves the bottom edge of the control. Also if I'm dragging an item from the last row to the top row, ListView doesn't scroll. Please, please, please tell me how to make it scroll while dragging an item....
1
5224
by: plmanikandan | last post by:
Hi, I have a listview with items,subitems.I tems and subitems are added as below listView1.View = View.Details; listView1.Columns.Add("Column 1", 100,HorizontalAlignment.Center); listView1.Columns.Add("Column 2", 100,HorizontalAlignment.Center); listView1.Columns.Add("Column 3", 100,HorizontalAlignment.Center); listView1.Columns.Add("Column 4", 100,HorizontalAlignment.Center); System.Windows.Forms.ListViewItem itmp = new
1
1261
by: George21 | last post by:
Hi. I'm trying to delete selected item in listview. Can anyone help me? How can i delete selected item in Listview from menu using for loop?
0
8399
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8606
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6169
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.