CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Jun 2007
    Posts
    16

    Cross thread communication - VS08

    Visual Studio 2008

    I've got

    Code:
     private Image ModifyPicture(Bitmap bitmap)
    I'd like to call that method on another thread and then set the Image property of a pictureBox on my form to that Image.

    I've searched online and I can't really find any good examples.

    Every example is a math example where they write the result to a console window.

    I am editing this picture, and its causing my form to freeze during that method.

    I am just doing this for fun and I'd like to know how to do it correctly. I already know I can set CheckForIllegalCrossThreading = false.

    Thanks for your input.
    Last edited by joe1985; September 26th, 2008 at 07:06 PM. Reason: Forgot to mention VS28K

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured