Thread updating a form

  • Thread starter Thread starter Sypack
  • Start date Start date
S

Sypack

Hi all,

i'm new to visual studio 2005 (used to work with Borland CBuilder).

I have an application CLR -> Windows Form Application.

On Form1 i've placed a listview and i've figured out how to start a
thread. But now i'd like to update the listview from the thread.

I've been searching newsgroups and the web but could not find an example
to get me going.

I know i should be using Invoke or BeginInvoke but all examples i find
are in VB or Csharp and i don't know any of those languages.

Could someone provide me with a working example for studio 2005?

Thank you all for helping me out here.
 
Sypack said:
Hi all,

i'm new to visual studio 2005 (used to work with Borland CBuilder).

I have an application CLR -> Windows Form Application.

On Form1 i've placed a listview and i've figured out how to start a
thread. But now i'd like to update the listview from the thread.

I've been searching newsgroups and the web but could not find an example
to get me going.

I know i should be using Invoke or BeginInvoke but all examples i find are
in VB or Csharp and i don't know any of those languages.

Could someone provide me with a working example for studio 2005?

Thank you all for helping me out here.

What part are you having trouble with? The C++ solution will look a lot
like the C# solution with minor syntax differences. Is there a particular
C# example (i.e. an URL) that you're trying to adapt to C++?

-cd
 
Back
Top