473,395 Members | 1,413 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,395 software developers and data experts.

Inherit the Listview Control and Repaint it

Inherit the Listview Control with Visual Basic ?

I have decided do inherit the Listview control some days ago to change some painting things to make the .net Listview look like the explorer's Listview. I am very new on doing those things like painting and also have not much practise with inheriting , so I got some problems while I tried to change the Control to that Listview I like.

Here are my Questions :

- Can I run a method if there is a item or column added , delete etc ? I did't find an event , but perhaps there is an other way I don't know about ?

- Can I decide if a subitem , which is delivered by DrawSubItem in detailview , is the first subitem which represent the listviewitem ?

- Can I inherit the ColumnCollection , Columnitem , ListviewitemCollection and the Listviewitem etc Class alter them and make my inherited Listview work with them ?

Not so important things :

- How can I make o transparent look on a picture or overlay it with a color ?
- How can I get the values which shows me how much I have scrolled with the bars , and how can I set a new value to those values ?

Thanks for helping me out :)
Jul 13 '07 #1
1 1926
there is an opacity property on forms not sure if all controls have it.
Jul 13 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: PHH | last post by:
Help me, please, When I redraw a ListviewItem in Listview (redraw items with icon and text columms). I used SetStyle(ControlStyle.UserPaint, true) function. And I redraw finish and run...
0
by: WHITETIGER | last post by:
Help me, please, When I redraw a ListviewItem in Listview (redraw items with icon and text columms). I used SetStyle(ControlStyle.UserPaint, true) function. And I redraw finish and run...
9
by: C# Learner | last post by:
Has anyone else noticed ListView's unbearable flickering? I have a project containing a list-view with the following: - View: Details - Columns: 5 The following code causes the list-view...
1
by: Claus Konrad | last post by:
What's the difference between calling the first and the second (see subject). Thanks! /Claus
4
by: Tom John | last post by:
Hi I have a ListView that i want to be able to modify the color of particular items depending on whether the value of the item they are about to be replaced with is higher, lower or the same: ...
1
by: RML | last post by:
Hi all, I have a VB.NET app which displays some data in a "Details" view of a ListView control. The code to populate the list is run in the Form_Load handler. When I run the Form,, all worked...
4
by: Mark Rae | last post by:
Hi, I have a bog-standard ListView control in a v1.1 C# WinForms project, with three colums, Details View. There is "Select All" button under the ListView control with the following code: ...
2
by: Manekurt | last post by:
Hello Everyone. Does anyone knows how to create a new property for an user control that inherits a list view? The property should be a boolean value set to each clumn that is created in the...
7
by: azoapes | last post by:
Hello, I'm trying to prevent a listView from repainting when I change group assignments for the items. Let's assume I have two groups with 100 items in each and moves 100 items from group A to group...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
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...

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.