Updates in a modal dialog loop
Brian Hook <[email protected]> Wed, 9 Feb 2005 23:23:58 -0500
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <200529232358.804988@GATEWAY> |
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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5