 



SHDoneButton(m_hWnd,
            SHDB_HIDE);







 #include "HTML_Dialog.h" to the
            dialog or view .cpp file that will launch the html dialog window.
IDD_HTML_DIALOG.
            Delete the "OK" and "Cancel" buttons.
IDR_TestPage_HTML. 
            Create an HTML web page in your favorite editor and copy the text
            into this resource.
"GIF" (including the
            quotes).
IDR_HTML_MENUBAR1. 
            Add one item and give it the caption Tools.  Add
            two sub-items to Tools with IDs ID_FORCEFIT and ID_EDIT_COPY
            and captions Force Fit and Copy,
            respectively. 
void CRayTestHTMLDlg::OnButton1() 
            {//show the HTML dialog
                HTML_Dialog* pDlg=new HTML_Dialog;  //create
            the dialog
                pDlg->m_resID=IDR_TestPage_HTML;  //tell
            the dialog where the HTML text is located in resources
                pDlg->RegisterHtmlImage(IDR_GIF1,_T("rays_rpn8.png")); 
            //tell the dialog where images are located in
            resources
                pDlg->DoModal();  //show
            the window
            }pDlg->RegisterHtmlImage(IDR_GIF1,_T("rays_rpn8.png"));
            line to reflect the name of the image in your HTML document.
            

WM_CTLCOLOR message. 
            You may need to change the message filter to add it with ClassWizard
            See this page: http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_21088854.html


WS_NONAVDONEBUTTON to the window style