bnhshallow
Programmer
Im Trying to make an MDI Web browser, but this bit of code is giving me a problem. Can anyone Help Me?
Thx
void CMainFrame::OnNewAddress()
{
CString sAddress;
m_wndDlgBar.GetDlgItem(IDC_EDIT1)->GetWindowText(sAddress);
((CWebBrowseView*)GetActiveView())->Navigate(sAddress);
}
The errors are:
: error C2065: 'CWebBrowseView' : undeclared identifier
: error C2059: syntax error : ')'
Thx
void CMainFrame::OnNewAddress()
{
CString sAddress;
m_wndDlgBar.GetDlgItem(IDC_EDIT1)->GetWindowText(sAddress);
((CWebBrowseView*)GetActiveView())->Navigate(sAddress);
}
The errors are:
: error C2065: 'CWebBrowseView' : undeclared identifier
: error C2059: syntax error : ')'