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

Thread: Thread

  1. #1
    Join Date
    Jul 2004
    Posts
    222

    Thread

    Hi All

    I used user interface thread for some long calculations. it works fine. But i
    face some problem when thread is running. when i move this dialog(thread ) on my application window its paint application windows to brown or white.

    i am not understand how it happening. How i solve this ?

    Thanks

  2. #2
    Join Date
    Feb 2002
    Location
    Krispl, Austria
    Posts
    197

    Re: Thread

    Could you make your problem clearer pls.
    Requests such as
    "I need to write an new language compiler by next week, I have teach yourself c++ in 21 days, can someone give me example code?" will be ignored.

  3. #3
    Join Date
    Jul 2005
    Location
    Germany
    Posts
    1,194

    Re: Thread

    Probably it is because the window does not repaint itself, because it is busy with the calculations.

    EDIT: You may want to create a worker thread.
    Please don't forget to rate users who helped you!

  4. #4
    Join Date
    Jul 2004
    Posts
    222

    Re: Thread

    How i solve it ? what should be added to remove this problem ?

    thanks

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