Click here to Skip to main content
15,881,089 members
Home / Discussions / C#
   

C#

 
GeneralRe: Channels Pin
Christian Graus9-Mar-08 11:05
protectorChristian Graus9-Mar-08 11:05 
GeneralSplash Screen Dispose Pin
gmhanna9-Mar-08 7:14
gmhanna9-Mar-08 7:14 
GeneralRe: Splash Screen Dispose Pin
Judah Gabriel Himango9-Mar-08 11:02
sponsorJudah Gabriel Himango9-Mar-08 11:02 
GeneralRe: Splash Screen Dispose Pin
gmhanna16-Mar-08 6:36
gmhanna16-Mar-08 6:36 
QuestionOpening files [modified] Pin
nike_arh9-Mar-08 7:12
nike_arh9-Mar-08 7:12 
GeneralRe: Opening files Pin
Giorgi Dalakishvili9-Mar-08 9:29
mentorGiorgi Dalakishvili9-Mar-08 9:29 
GeneralSome questions regarding ListView fundamental behaviour Pin
eyalbi0079-Mar-08 6:55
eyalbi0079-Mar-08 6:55 
GeneralRe: Some questions regarding ListView fundamental behaviour Pin
LongRange.Shooter10-Mar-08 9:22
LongRange.Shooter10-Mar-08 9:22 
I've always found the ListView to be a very quirky control to work with. The biggest question to answer is why are you using it?
If possible, you should work around it by getting rid of the listview and go with the ListBox instead. Also you want to avoid what you do with events.

You can call SuspendLayout() (I THINK) you will have to verify in the method description. Basically it suspends the events when changing things around in the control.

You can also minimize issues by avoiding too many events. SelectedIndexChange is a good one to get yourself into a hung state just by having one control change another control and having both of them trigger off the change event.

In my test I had the selected index change load the second listview with items. I failed to give it focus as well....but I found that I only had the event fire once!
QuestionRe: Some questions regarding ListView fundamental behaviour [modified] Pin
eyalbi00710-Mar-08 21:59
eyalbi00710-Mar-08 21:59 
GeneralRe: Some questions regarding ListView fundamental behaviour Pin
LongRange.Shooter11-Mar-08 16:32
LongRange.Shooter11-Mar-08 16:32 
GeneralRe: Some questions regarding ListView fundamental behaviour Pin
eyalbi00711-Mar-08 22:06
eyalbi00711-Mar-08 22:06 
QuestionDictionary Sorting ??? Pin
Jammer9-Mar-08 6:44
Jammer9-Mar-08 6:44 
AnswerRe: Dictionary Sorting ??? Pin
Professor Sharada Ulhas9-Mar-08 10:57
Professor Sharada Ulhas9-Mar-08 10:57 
GeneralRe: Dictionary Sorting ??? Pin
Jammer9-Mar-08 11:29
Jammer9-Mar-08 11:29 
GeneralRe: Dictionary Sorting ??? Pin
Judah Gabriel Himango10-Mar-08 11:31
sponsorJudah Gabriel Himango10-Mar-08 11:31 
GeneralRe: Dictionary Sorting ??? Pin
Jammer9-Mar-08 12:46
Jammer9-Mar-08 12:46 
GeneralRe: Dictionary Sorting ??? Pin
Judah Gabriel Himango10-Mar-08 7:17
sponsorJudah Gabriel Himango10-Mar-08 7:17 
GeneralRe: Dictionary Sorting ??? Pin
Jammer10-Mar-08 10:17
Jammer10-Mar-08 10:17 
GeneralRe: Dictionary Sorting ??? Pin
Jammer10-Mar-08 11:10
Jammer10-Mar-08 11:10 
GeneralRe: Dictionary Sorting ??? Pin
Judah Gabriel Himango10-Mar-08 11:19
sponsorJudah Gabriel Himango10-Mar-08 11:19 
GeneralRe: Dictionary Sorting ??? Pin
Jammer10-Mar-08 11:23
Jammer10-Mar-08 11:23 
GeneralRe: Dictionary Sorting ??? Pin
Judah Gabriel Himango10-Mar-08 11:33
sponsorJudah Gabriel Himango10-Mar-08 11:33 
GeneralRe: Dictionary Sorting ??? Pin
Jammer10-Mar-08 11:46
Jammer10-Mar-08 11:46 
GeneralOOP Question Pin
MarkPhB9-Mar-08 5:19
MarkPhB9-Mar-08 5:19 
GeneralRe: OOP Question Pin
User 66589-Mar-08 5:30
User 66589-Mar-08 5:30 

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.