Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog loop
#2
The reason for the unresponsive dialog is the 1 second wait in your loop. The example you showed would be best put in a timer.(case WM_TIMER). Search forum for SetTimer for examples on how to use a timer in a dialog. Sorry not at pc can't give example. Other options would be to put that code in a subfuntion and call using mac.So it runs un another thread and doesn't effect dialog process. Last option would be to place opt waitmsg 1 before the loop. It works but is not recommended way


Messages In This Thread
Dialog loop - by nikks14 - 11-22-2020, 07:07 PM
RE: Dialog loop - by Kevin - 11-22-2020, 08:42 PM
RE: Dialog loop - by nikks14 - 11-23-2020, 12:32 AM
RE: Dialog loop - by Kevin - 11-23-2020, 02:17 AM
RE: Dialog loop - by nikks14 - 11-23-2020, 10:20 AM
RE: Dialog loop - by Kevin - 11-23-2020, 02:14 PM
RE: Dialog loop - by nikks14 - 11-23-2020, 03:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)