Click here to Skip to main content
15,919,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: Listviewcontrol and background color Pin
Wendelius30-Aug-08 8:03
mentorWendelius30-Aug-08 8:03 
GeneralRe: Listviewcontrol and background color Pin
Yustme30-Aug-08 8:40
Yustme30-Aug-08 8:40 
GeneralRe: Listviewcontrol and background color Pin
Wendelius30-Aug-08 8:57
mentorWendelius30-Aug-08 8:57 
GeneralRe: Listviewcontrol and background color Pin
Yustme30-Aug-08 10:50
Yustme30-Aug-08 10:50 
GeneralRe: Listviewcontrol and background color Pin
Wendelius30-Aug-08 11:05
mentorWendelius30-Aug-08 11:05 
GeneralRe: Listviewcontrol and background color Pin
Yustme30-Aug-08 22:08
Yustme30-Aug-08 22:08 
GeneralRe: Listviewcontrol and background color Pin
Wendelius30-Aug-08 22:27
mentorWendelius30-Aug-08 22:27 
GeneralRe: Listviewcontrol and background color [modified] Pin
Yustme31-Aug-08 0:14
Yustme31-Aug-08 0:14 
Hi,

I did both, the colors really get assigned. But they are just not visible. If i minimize the window and bringing it back to front, i can see the colors but disappear really fast again.


[EDIT 12:33h]

Hi,

It seems that i managed to fix this a bit. I created a paint event from the Form.

I do all the coloring stuff in there now. It seems that it keeps the colors, but if i select an item, it loses its color.

If i use the selectedIndexChanged event for the listview control, and i select an item, i lose all the colors on every item.

I need a way to call the Paint event inside the selectedIndexChanged event of the listview control. This might do the trick.

I tried this: this.frmMain_Paint(this.listviewcontrol, null);

But that didn't work...

[/Edit]

modified on Sunday, August 31, 2008 6:33 AM

GeneralRe: Listviewcontrol and background color Pin
Wendelius31-Aug-08 1:29
mentorWendelius31-Aug-08 1:29 
Questionnon-rectangular window Pin
TerRO_GirL29-Aug-08 23:54
TerRO_GirL29-Aug-08 23:54 
AnswerRe: non-rectangular window Pin
MarkB77730-Aug-08 0:50
MarkB77730-Aug-08 0:50 
GeneralRe: non-rectangular window Pin
TerRO_GirL30-Aug-08 5:42
TerRO_GirL30-Aug-08 5:42 
QuestionCombobox event Pin
vasusoftsol29-Aug-08 23:15
vasusoftsol29-Aug-08 23:15 
AnswerRe: Combobox event Pin
Anthony Mushrow29-Aug-08 23:38
professionalAnthony Mushrow29-Aug-08 23:38 
AnswerRe: Combobox event Pin
Mbah Dhaim30-Aug-08 10:50
Mbah Dhaim30-Aug-08 10:50 
Questionstencil bar in ms visio Pin
tahir_makhdoom29-Aug-08 23:14
tahir_makhdoom29-Aug-08 23:14 
AnswerRe: stencil bar in ms visio Pin
Abisodun30-Aug-08 9:01
Abisodun30-Aug-08 9:01 
Questioninvoices .. print to specefic Point or RDLC? Pin
Jassim Rahma29-Aug-08 22:18
Jassim Rahma29-Aug-08 22:18 
AnswerRe: invoices .. print to specefic Point or RDLC? Pin
Naji El Kotob26-Oct-09 4:03
Naji El Kotob26-Oct-09 4:03 
Questionproblem in binded columns to DataGridView Pin
Jassim Rahma29-Aug-08 22:16
Jassim Rahma29-Aug-08 22:16 
AnswerRe: problem in binded columns to DataGridView Pin
leppie29-Aug-08 22:51
leppie29-Aug-08 22:51 
GeneralRe: problem in binded columns to DataGridView Pin
Jassim Rahma29-Aug-08 22:53
Jassim Rahma29-Aug-08 22:53 
AnswerRe: problem in binded columns to DataGridView Pin
Wendelius30-Aug-08 4:57
mentorWendelius30-Aug-08 4:57 
GeneralRe: problem in binded columns to DataGridView Pin
Jassim Rahma30-Aug-08 8:22
Jassim Rahma30-Aug-08 8:22 
GeneralRe: problem in binded columns to DataGridView Pin
Wendelius30-Aug-08 8:31
mentorWendelius30-Aug-08 8:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.