Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Dialog.h

Go to the documentation of this file.
00001 #ifndef ABUSE_DIALOG_H
00002 #define ABUSE_DIALOG_H
00003 
00004 #include <abuse/Init.h>
00005 #include <abuse/SysError.h>
00006 //base class for all dialogs
00007 
00008 
00009 class Dialog: public virtual VirtBase
00010 {
00011 protected:
00012         Dialog(int id, HWND hFather=NULL,bool bIsModal=true,const Init& i=Init())throw(SysError);
00013         virtual ~Dialog();
00014         virtual BOOL dlgProc(UINT uMsg,WPARAM wP,LPARAM lP)=0;
00015         virtual void ctor()/*throw(SysError)*/;
00016         int getResult()const;
00017         HWND m_hWnd;
00018         HWND m_hFather;
00019 private:
00020         static BOOL dialogCommonProc(HWND,UINT,WPARAM,LPARAM);
00021         bool m_bIsModal;
00022         int  m_id;
00023         int  m_result;
00024 };
00025 
00026 #endif //ABUSE_DIALOG_H

Generated on Thu Jun 16 00:13:24 2005 for Abuse! by  doxygen 1.4.3