#if !defined(AFX_ADDRESSBAR_H__B0764C99_5CC2_4412_8B1F_22E71BAD70F0__INCLUDED_)
#define AFX_ADDRESSBAR_H__B0764C99_5CC2_4412_8B1F_22E71BAD70F0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
class CInitDialogBar : public CDialogBar
{
DECLARE_DYNAMIC(CInitDialogBar)
public:
CInitDialogBar();
virtual ~CInitDialogBar();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
public:
virtual BOOL Create(CWnd * pParentWnd, UINT nIDTemplate, UINT nStyle, UINT nID);
virtual BOOL Create(CWnd * pParentWnd, LPCTSTR lpszTemplateName, UINT nStyle, UINT nID);
protected:
virtual BOOL OnInitDialog();
protected:
DECLARE_MESSAGE_MAP()
};
class AddressBar : public CInitDialogBar
{
DECLARE_DYNAMIC(AddressBar)
public:
AddressBar();
enum { IDD = IDD_NAVBAR };
CStatic m_Title;
CComboBox m_Address;
void ReloadURLs();
void SelectionReady();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnClose();
afx_msg void OnSelendOK();
DECLARE_MESSAGE_MAP()
};
#endif