[GD-Windows] Updates in a modal dialog loop
Brought to you by:
vexxed72
From: Brian H. <ho...@bo...> - 2005-02-10 04:37:04
|
I have a dialog box (MFC) that does processing and that periodically needs to pump the message loop so that paints, etc. can propagate. In other words. What is the right way to pump the loop? I see that there's RunModalLoop(), EndModalLoop(), and ContinueModal(), but I don't see examples of how they're used and I'm not even sure if they're the right direction. In a regular windows loop I'd do some work then call Get/Translate/DispatchMessage() periodically to get a similar effect, but there doesn't seem to be a corresponding facility here. Thanks, Brian |