1 //////////////////////////////////////////////////////////////////////
5 * @brief Declaration of CLocationBar class
8 //////////////////////////////////////////////////////////////////////
15 // You must #define this for viewbar to compile properly
16 #define TViewBarBase CSizingControlBarCF
19 * @brief Class for location bar.
21 class CLocationBar : public TViewBarBase
23 DECLARE_DYNAMIC(CLocationBar);
26 virtual ~CLocationBar();
28 CWnd* pParentWnd, // mandatory
29 LPCTSTR lpszWindowName = nullptr,
30 DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP,
31 UINT nID = AFX_IDW_PANE_FIRST);
33 void SetFrameHwnd(HWND hwndFrame);
34 void UpdateResources();
37 // ClassWizard generated virtual function overrides
38 //{{AFX_VIRTUAL(CLocationBar)
43 //{{AFX_MSG(CLocationBar)
44 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
45 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
46 afx_msg void OnSize(UINT nType, int cx, int cy);
47 afx_msg void OnWindowPosChanged(WINDOWPOS* lpwndpos);
52 HWND m_hwndFrame; //*< Frame window handle */