void CBorderDlg::OnExplorerButton() { // TODO: Add your control notification handler code here CString szURL; m_Address.GetWindowText(szURL); if(szURL!="") { m_Explorer.Navigate(szURL,0,0,0,0); m_Address.AddString(szURL); } }