I am, as some of you might have seen, developing a Windows Explorer-like application.
However, I have one question.
How can I update a listview and a treeview from a thread? I want the UI to completely usable while other code is running in the background.
I also want the thread to stop if the user hits a button. For that I'd have to declare a global variable which would contain the code, am I right?
Thank you for your help.
EDIT I'm so sorry for the double post, don't know how that happened... Could a mod close this thread please?
EDIT 2 I know now... I mean to hit "preview post" but hit "submit post"... Then IE gave me an error page so I hit "back", repasted the post text and rewrote the title and then submited it... again... Once again, sorry!... :blush:
Question
anog
Hi there.
I am, as some of you might have seen, developing a Windows Explorer-like application.
However, I have one question.
How can I update a listview and a treeview from a thread? I want the UI to completely usable while other code is running in the background.
I also want the thread to stop if the user hits a button. For that I'd have to declare a global variable which would contain the code, am I right?
Thank you for your help.
EDIT I'm so sorry for the double post, don't know how that happened... Could a mod close this thread please?
EDIT 2 I know now... I mean to hit "preview post" but hit "submit post"... Then IE gave me an error page so I hit "back", repasted the post text and rewrote the title and then submited it... again... Once again, sorry!... :blush:
Edited by anogLink to comment
Share on other sites
0 answers to this question
Recommended Posts