473,513 Members | 2,560 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Resize height of one listviewitem in list view when hovered over withmouse.

Hello,
I have a drag and drop interface where someone drags an item into a
list view. I would like to make it easier for the user to pick the
correct one by making the listviewitem that the user is currently
hovering over larger. This is a similar interface to the Apple dock.
Is there an way to do this? Will it mean overriding the paint event
for the list view or is there an easier way?
Aug 7 '08 #1
3 1998
On Aug 7, 10:07*am, riley...@msu.edu wrote:
Hello,
I have a drag and drop interface where someone drags an item into a
list view. *I would like to make it easier for the user to pick the
correct one by making the listviewitem that the user is currently
hovering over larger. *This is a similar interface to the Apple dock.
Is there an way to do this? *Will it mean overriding the paint event
for the list view or is there an easier way?
AFAIK this is not possible, all the items most be of the same height.
I had a similar request a time ago and I was unable of doing it.
Aug 7 '08 #2
On Aug 7, 9:55 am, "Ignacio Machin ( .NET/ C# MVP )"
<ignacio.mac...@gmail.comwrote:
On Aug 7, 10:07 am, riley...@msu.edu wrote:
Hello,
I have a drag and drop interface where someone drags an item into a
list view. I would like to make it easier for the user to pick the
correct one by making the listviewitem that the user is currently
hovering over larger. This is a similar interface to the Apple dock.
Is there an way to do this? Will it mean overriding the paint event
for the list view or is there an easier way?

AFAIK this is not possible, all the items most be of the same height.
I had a similar request a time ago and I was unable of doing it.
It can be done using WPF. That might be worth a shot.

Chris
Aug 7 '08 #3
On Aug 7, 12:18*pm, Chris Dunaway <dunaw...@gmail.comwrote:
On Aug 7, 9:55 am, "Ignacio Machin ( .NET/ C# MVP )"

<ignacio.mac...@gmail.comwrote:
On Aug 7, 10:07 am, riley...@msu.edu wrote:
Hello,
I have a drag and drop interface where someone drags an item into a
list view. *I would like to make it easier for the user to pick the
correct one by making the listviewitem that the user is currently
hovering over larger. *This is a similar interface to the Apple dock.
Is there an way to do this? *Will it mean overriding the paint event
for the list view or is there an easier way?
AFAIK this is not possible, all the items most be of the same height.
I had a similar request a time ago and I was unable of doing it.

It can be done using WPF. *That might be worth a shot.

Chris
That is a complete change in platform (and dev skills) , not sure if
it warrant.

OP:
I would suggest you look around for a solution, I bet somebody might
have implemented something like that
Aug 8 '08 #4

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

Similar topics

0
1846
by: LV | last post by:
Hello, I would like to manually set one of my list view items as selected. When this item is set, I would like for a method to execute. I have a delegate on the list view for SelectedIndexChanged. For some reason, when I set the listviewitem.Selected = true, the event is not fired. Here is my code: using System; using System.Windows.Forms;...
6
5616
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12 AM): > > >I want to maximize the browser window when I open a new window. > > function expand() { > window.moveTo(0,0); > window.resizeTo(screen.availWidth, screen.availHeight); > }
6
13079
by: grs | last post by:
The following is a code example from the Microsoft MSDN. My question is on the following three lines of code: ListViewItem item1 = new ListViewItem("item1",0); ListViewItem item2 = new ListViewItem("item2",1); ListViewItem item3 = new ListViewItem("item3",0); You would in most cases know the ListViewItem name or the number of items to...
1
6369
by: Sin Jeong-hun | last post by:
The ListView's view is detail. I can set ListViewItems' width by changing the culumn width, but what about the height? It seems that the height is automatically set according to the font size of the ListViewItem. Isn't there any way to set the height manually? If not, please tell me that there's none. Thanks.
3
1679
by: Chad Miller | last post by:
Why doesn't the listview columns resize automatically after the first time the listview is populated. Or if you run the sub twice. Private Sub LoadLV lvProjects.SuspendLayout() lvProjects.Clear() lvProjects.View = View.Details lvProjects.FullRowSelect = True lvProjects.Columns.Add("Id", -1, HorizontalAlignment.Left)
12
4813
by: Peter | last post by:
Using .NET 1.1 Window Forms I would like to place over 400 pictures on a panel control one after another one so user can scroll through them, but each picture is up to 200 pixels in height that's over 80,000 pixels in total, but panel control can go up to only 32767 pixels. How can I allow a user to scroll through all of the 400 pictures?...
7
1275
by: Deniel Rose' | last post by:
How can I resize a list ? thanks
12
4657
by: daniel2335 | last post by:
This problem is everywhere! I have read all forums available, spent about 40+ hours on it and lost a bit of hair. I was going to explain what its ment to look like but I just realised removing the DocType makes it look like how I want it (with the div containing the ">" symbol the full length). But obviously I want this look with the DocType still...
3
3564
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi! This discussion may help other programmers get a better idea of how to save uploaded images through a website. Why? Well currently, I save 3 versions of every uploaded image on my own little website: 1. Small: DOWNsize of original image to be used as a thumbnail. 2. Medium: DOWNsize of original image to be used as user...
0
7178
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7397
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7128
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5704
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...
1
5103
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...
0
4759
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...
0
3255
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...
0
1612
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
1
817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.