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

How to refresh row background of listview control

Hi Friends,

In my application, I have created with listview control with 3 rows
with Green color as row background. By default row 1 is in selected
state. If i want to deselect the row from the listview control by
clicking anywhere above the third row. At that time the deactivation of
the row is applied, but the row background is applied as white. This
could be occured even i rearrange the column of the listview also. How
can i restore back the background color for the listview row after
deselecting the row or rearrange the column?

Please help me to solve this issue.

Regards,
Prakash.

Dec 3 '05 #1
0 1317

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

Similar topics

1
by: Jaime Lucci | last post by:
Hi. How can I place a background image on a ListView control? If it is possible, can it be with anchors (bottom-right)? Thanks. Jaime from Salta, Argntina jaimelucci@hotmail.com
3
by: Brian Basquille | last post by:
Hey there all, Fairly easy question for a C# expert, i assume! Am still working on my Photo Album. On frmBrowsePhotos, i have a listBox (photosList) containing photoID's from a table in an...
1
by: Maarten | last post by:
hi all, how can i refresh a listview in form1, if i press a button in form2 thanks Maarten ps Merry Christmas
3
by: Lloyd Sheen | last post by:
I have now googled for a couple of hours with no success. I am looking to find code to create a listview with a background image. I know it can be done but cannot find a link to code or a hint. ...
1
by: Teemu | last post by:
I have problems with ListView-control because of its GridLines bug in Windows XP. I created a function that creates a bitmap which presents those grid lines. Then I set this image to ListView's...
0
by: David Gouge | last post by:
Hi All, appreciate that this is more gdi+ than c# but always seem to get good answers here, so here goes... In a nutshell, all i want to do is add a gradient background to a ListView. I have...
13
by: deciacco | last post by:
How can I have access to the items collection of a listview control on my form from a background thread? I know I need delegates to update the listview control and I have those calls in the...
0
by: svx | last post by:
Hello, I am painting individual rows in a ListView control with different colors, depending on state. I am also using a SmallImageList in Detail view. When I set the...
4
by: ari | last post by:
I have recently upgraded from vb.net 2002 to 2005, and have encountered the following problem. I have a listview with say a dozen items. Following a user action I programmatically update the...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.