CDHtmlDialog::CDHtmlDialog

 

Constructs a resource-based dynamic HTML dialog box.

Syntax

      CDHtmlDialog( ); 
CDHtmlDialog(
   LPCTSTR lpszTemplateName,
   LPCTSTR szHtmlResID,
   CWnd *pParentWnd = NULL 
);
CDHtmlDialog(
   UINT nIDTemplate,
   UINT nHtmlResID = 0,
   CWnd *pParentWnd = NULL 
);

Parameters

  • lpszTemplateName
    The null-terminated string that is the name of a dialog-box template resource.

  • szHtmlResID
    The null-terminated string that is the name of an HTML resource.

  • pParentWnd
    A pointer to the parent or owner window object (of type CWnd) to which the dialog object belongs. If it is NULL, the dialog object's parent window is set to the main application window.

  • nIDTemplate
    Contains the ID number of a dialog-box template resource.

  • nHtmlResID
    Contains the ID number of an HTML resource.

Remarks

The second form of the constructor provides access to the dialog resource through the template name. The third form of the constructor provides access to the dialog resource through the ID of the resource template. Usually, the ID begins with the IDD_ prefix.

Requirements

Header: afxdhtml.h

See Also

CDHtmlDialog Class
Hierarchy Chart
CDHtmlDialog::LoadFromResource