#pragma once #include #include #include "SRWnd.h" #include "SRApp.h" #include "SRMenu.h" namespace SRFramework { class SRCommandBar { public: SRCommandBar(void); virtual ~SRCommandBar(void); INT Height(); BOOL Create(SRWnd* pWndParent, UINT nBarID); BOOL Show(); BOOL Hide(); HMENU GetSubMenu(UINT nPos); void RedrawMenu(); protected: HWND m_hWndCB; }; }