CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    15

    What is the ideal way to do this?

    What would be the ideal way of doing this:

    I want my app to display a dialog (modal) and then perform processing in the main window (the dialog is simply to let them know what's happening and allow them to click cancel). When the dialog is closed, terminate the processing. Also, as the processing occurs, I need the main window updated because it's contents are going to be changed. I know I need to use thread some how, but my current setup isn't working very well.


  2. #2
    Join Date
    Apr 1999
    Posts
    5

    Re: What is the ideal way to do this?

    You can do it with a thread or use SetTimer and handle the WM_TIMER. To stop the processing, use KillTimer. Hope this helps.


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