CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    258

    dialog box displaying not responding

    Hi all,

    I have made a dialog based application using vc2008....

    I have made a worker thread inside that application and that worker thread is calling various other global functions....

    But my problem is whenever the task is running and i click the dialog box anywhere on dialog box it starts displaying not responding...

    I am not getting how to remove this problem....

    can anybody help me in this.....

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: dialog box displaying not responding

    Well, hard to say anything without seeing the code.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: dialog box displaying not responding

    Break in with the debugger and see what it's doing. Most likely it's a tight loop, but without code, who knows.

  4. #4
    Join Date
    Jan 2009
    Posts
    6

    Re: dialog box displaying not responding

    Yes, post the worker thread code pieces or you will enjoy yourself the tightest loop I have ever seen

    -Kim Tu

  5. #5
    Join Date
    Jan 2007
    Location
    Italy
    Posts
    156

    Re: dialog box displaying not responding

    It seems an infinite loop is triggered, and your app get stucked in it being unable to respond or elaborate any windows message...

    Try check if you entered some code in OnPaint(), or on Handlers related to mouse events.
    - Buzzyous -

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