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

C#

 
GeneralRe: StreamReader problem Pin
Tavbi26-Oct-06 20:44
Tavbi26-Oct-06 20:44 
GeneralRe: StreamReader problem Pin
Andrew Rissing27-Oct-06 3:30
Andrew Rissing27-Oct-06 3:30 
AnswerRe: StreamReader problem Pin
ednrgc26-Oct-06 3:20
ednrgc26-Oct-06 3:20 
GeneralRe: StreamReader problem Pin
Tavbi26-Oct-06 20:38
Tavbi26-Oct-06 20:38 
QuestionMaking desktop application resolution independent? Pin
Mridang Agarwalla26-Oct-06 2:43
Mridang Agarwalla26-Oct-06 2:43 
AnswerRe: Making desktop application resolution independent? Pin
Pete O'Hanlon26-Oct-06 4:34
mvePete O'Hanlon26-Oct-06 4:34 
QuestionCreating Setup Pin
Jad Jadallah26-Oct-06 2:21
Jad Jadallah26-Oct-06 2:21 
Questionmultithreaded GUI Pin
Polar2226-Oct-06 1:41
Polar2226-Oct-06 1:41 
hey,
I have a very simple problem, which I fear has a very complicated solution.

I have a form containing a treeview, consisting of several thousand nodes, and a textbox. I want the treeview to filter it's contents based on a filter string in the textbox. Here comes the tricky part: I want the treeview filter process to run simultaneously with the normal gui thread, such that the user can see the filtering of the treeview happen as he fills the textbox. Due to the large number of nodes in the treeview the call "treeView1.Nodes.Add(..);" which adds the new nodes to the treeview is very slow, and this will effect the responsiveness of the textbox where the user will experience delays as he fills the textbox.

Normally I would put the treeview filtering code in a separate thread, however .NET doesn't allow gui code that updates gui components to run in separate threads, so I'm kind of stuck.

Any ideas?

regards
Jimmy
AnswerRe: multithreaded GUI Pin
billard26-Oct-06 1:52
billard26-Oct-06 1:52 
GeneralRe: multithreaded GUI Pin
Polar2226-Oct-06 1:56
Polar2226-Oct-06 1:56 
AnswerRe: multithreaded GUI Pin
ednrgc26-Oct-06 3:27
ednrgc26-Oct-06 3:27 
QuestionConvert Graphics to Image Pin
topcatalpha26-Oct-06 1:36
topcatalpha26-Oct-06 1:36 
AnswerRe: Convert Graphics to Image Pin
topcatalpha26-Oct-06 22:20
topcatalpha26-Oct-06 22:20 
Questionregular expression validator Pin
vijeta_r26-Oct-06 1:16
vijeta_r26-Oct-06 1:16 
AnswerRe: regular expression validator Pin
Guffa26-Oct-06 1:38
Guffa26-Oct-06 1:38 
AnswerRe: regular expression validator Pin
NTSubuu22-May-12 19:28
NTSubuu22-May-12 19:28 
QuestionFuzzy Word Experiment sample [modified] Pin
ranatunga26-Oct-06 0:53
ranatunga26-Oct-06 0:53 
QuestionFileMode.Create? Pin
scotlandc26-Oct-06 0:51
scotlandc26-Oct-06 0:51 
AnswerRe: FileMode.Create? Pin
ednrgc26-Oct-06 4:31
ednrgc26-Oct-06 4:31 
Questionhelp how to give privilege to programm !!! Pin
vincent3126-Oct-06 0:49
vincent3126-Oct-06 0:49 
QuestionFastest string finding in .NET Pin
Colin Angus Mackay26-Oct-06 0:39
Colin Angus Mackay26-Oct-06 0:39 
AnswerRe: Fastest string finding in .NET Pin
Guffa26-Oct-06 0:53
Guffa26-Oct-06 0:53 
GeneralRe: Fastest string finding in .NET Pin
Colin Angus Mackay26-Oct-06 2:31
Colin Angus Mackay26-Oct-06 2:31 
GeneralRe: Fastest string finding in .NET Pin
Pete O'Hanlon26-Oct-06 4:46
mvePete O'Hanlon26-Oct-06 4:46 
AnswerRe: Fastest string finding in .NET Pin
Guffa26-Oct-06 10:52
Guffa26-Oct-06 10:52 

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.