--- /dev/null
+// Roast+ License
+/*
+
+*/
+#ifndef __SFJP_ROAST_EX__windows__menu_HPP__
+#define __SFJP_ROAST_EX__windows__menu_HPP__
+
+#include <windows.h>
+
+namespace roast
+{
+ namespace windows
+ {
+ class windows_exception : public ::std::string
+ {
+ public:
+ windows_exception(const char* s) : ::std::string(s) {}
+ windows_exception(const ::std::string& s) : ::std::string(s) {}
+ };
+
+ class menu
+ {
+ protected:
+ ::HMENU m_hMenu;
+ public:
+ menu(){
+ m_hMenu = ::CreateMenu();
+ if ( m_hMenu == NULL )
+ windows_exception("::CreateMenu() Returned Error.");
+ }
+ virtual ~menu(){
+ if ( ::DestroyMenu(m_hMenu) == FALSE )
+ windows_exception("::DestroyMenu() Returned Error.");
+ }
+ };
+
+ ////////////////////////////////////////////////////////////////
+ }
+}
+
+#endif//__SFJP_ROAST_EX__windows__menu_HPP__