Esempio n. 1
0
CHtmlDialog::CHtmlDialog(UINT nResID, HWND hWnd)
{
	m_hWndParent = hWnd;
	CString strTemp;
	strTemp.Format("%d", nResID);	
	ResourceToURL(strTemp);
	CommonConstruct();
}
Esempio n. 2
0
CHtmlDialog::CHtmlDialog(UINT nResID, CWnd* pParent/*= NULL*/)
{
	m_hWndParent = pParent ? pParent->GetSafeHwnd() : NULL;

	CString strTemp;
	strTemp.Format("%d", nResID);
	
	ResourceToURL(strTemp);
	CommonConstruct();
}
Esempio n. 3
0
CHtmlDialog::CHtmlDialog(const CString& strURL, BOOL bRes, HWND hWnd)
{
	m_hWndParent = hWnd;

	if (bRes)
		ResourceToURL(strURL);
	else
		m_strURL = strURL;
	CommonConstruct();
}
Esempio n. 4
0
CHtmlDialog::CHtmlDialog(LPCTSTR lpszURL, BOOL bRes, CWnd* pParent/*= NULL*/)
{
	m_hWndParent = pParent ?  pParent->GetSafeHwnd() : NULL;

	if (bRes)
	{
		ResourceToURL(lpszURL);
	}
	else
		m_strURL = lpszURL;

	CommonConstruct();
}