OK, so you’re all giddy about this new HTML thing — now you can make dialogs with just HTML markup! Great, so you’ve got your MFC application and you write your own dialog class that derives from
CDHtmlDialog, you create your markup for the dialog and you’re all set. Then you let your testers have at it and they discover that pressing F5 invokes the embedded web browser control’s refresh operation and your page displays wrong. What to do? Well, you have a couple choices: 1) you can figure out how to reliably refresh the HTML from the application, or 2) you can suppress the refresh operation because its essentially meaningless, since any updates needed to the HTML will be done directly by the application.