Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TreeView Updation from another thread.

Status
Not open for further replies.

harpreets77

Programmer
Nov 11, 2002
7
DE
Hi,

I need to update (add nodes) to a tree view from another thread (not the owner thread).

A call to BeginInvoke is not the sollution. Since I want the nodes to be added in the background as the user works with the tree view.

Any clues on how this can be achieved.

Regards,
Harpreet Singh
 
The GUI part of a .NET application is single-threaded (they all start from STAThread), so message-passing is the safe way to do it.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top