#pragma once
#ifdef _WIN32_WCE
#error "CDHtmlDialog is not supported for Windows CE."
#endif
// $class_name$ dialog
class $class_name$ : public CDHtmlDialog
{
DECLARE_DYNCREATE($class_name$)
public:
$class_name$(CWnd* pParent = nullptr); // standard constructor
virtual ~$class_name$();
// Overrides
[!if AUTOMATION || CREATABLE]
virtual void OnFinalRelease();
[!endif]
HRESULT OnButtonOK(IHTMLElement *pElement);
HRESULT OnButtonCancel(IHTMLElement *pElement);
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = $idd_dialog$, IDH = $html_id$ };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
DECLARE_DHTML_EVENT_MAP()
[!if CREATABLE]
DECLARE_OLECREATE($class_name$)
[!endif]
[!if AUTOMATION || CREATABLE]
DECLARE_DISPATCH_MAP()
DECLARE_INTERFACE_MAP()
[!endif]
};