00001 #ifndef INPUTBOX_H 00002 #define INPUTBOX_H 00003 00004 #include <abuse/abuse.h> 00005 #include <string> 00006 00007 class InputBox 00008 { 00009 public: 00010 InputBox(HWND hWnd,DWORD dlgId); 00011 virtual ~InputBox(){} 00012 std::string go(); 00013 protected: 00014 HWND m_hFather; 00015 HWND m_hWnd; 00016 virtual BOOL dlgProc(UINT uMsg,WPARAM wP,LPARAM lP)=0; 00017 private: 00018 static BOOL CALLBACK IBdlgProc(HWND hWnd,UINT uMsg,WPARAM wP,LPARAM lP); 00019 DWORD m_id; 00020 }; 00021 00022 00023 00024 #endif