-
Notifications
You must be signed in to change notification settings - Fork 125
/
DLGHTML.h
executable file
·38 lines (33 loc) · 1.07 KB
/
DLGHTML.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// DLGHTML.h: interface for the CHtmlDialog class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DLGHTML_H__00C54337_702E_11D2_ABF7_CCFAF0973072__INCLUDED_)
#define AFX_DLGHTML_H__00C54337_702E_11D2_ABF7_CCFAF0973072__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CHtmlDialog
{
public:
void SetDlgOptions(LPCTSTR lpszOptions);
void SetSize(int x, int y);
LPCVARIANT GetReturnVariant();
CString GetReturnString();
void SetParam(LPCTSTR lpszArgs);
void SetParam(VARIANT* pvarArgs);
virtual int DoModal();
CHtmlDialog(LPCTSTR lpszURL, BOOL bRes = FALSE, CWnd* pParent = NULL);
CHtmlDialog(UINT nResID, CWnd* pParent = NULL);
CHtmlDialog();
virtual ~CHtmlDialog();
private:
inline void ResourceToURL(LPCTSTR lpszURL);
void CommonConstruct();
protected:
HWND m_hWndParent;
CString m_strOptions;
COleVariant m_varArgs, m_varReturn;
CString m_strURL;
HINSTANCE m_hInstMSHTML;
};
#endif // !defined(AFX_DLGHTML_H__00C54337_702E_11D2_ABF7_CCFAF0973072__INCLUDED_)