473,588 Members | 2,452 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 2005
On Aug 7, 10:07*am, riley...@msu.ed u 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.ed u 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.ed u 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
1861
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; namespace DOMBuilder.GUI { public delegate void SelectedDomainObjectChangedHandler();
6
5630
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
13088
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 create (item1,item2 etc). How would you create this individual rows programmatically ?
1
6376
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
1684
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
4825
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? Thanks
7
1284
by: Deniel Rose' | last post by:
How can I resize a list ? thanks
12
4669
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 on. HTML <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ...
3
3572
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 avatars/icons in forums or profiles.
0
8228
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7987
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8223
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
6634
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...
0
5398
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
3887
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2372
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
1459
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1196
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.