Dialog not processing messages

Discussion in 'MFC' started by Dave C, Aug 31, 2010.

  1. Dave C

    Dave C New Member

    Aug 31, 2010
    Likes Received:
    Trophy Points:
    I have a dialog based machine control application that runs in a do-while loop until the operator pushes a hardware stop switch. The program uses PCI boards and their associated DLLs.

    I need to provide a software pause button (dialog control) but the app will not process the button method when the control is clicked. All I get is an hourglass and "Program Not Responding" in the title bar. The same thing happens if I try to activate a radio button on the form.

    Is there an API function that I can call at different places in my code to force Windows to momentarilly suspend my code and go do its normal messaging stuff?


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice