home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / componen / interact / demo / data.2 / samples / ansic / INTERACT / ADDENTIT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-23  |  2.0 KB  |  69 lines

  1.  
  2. //lRegen_FileHeading
  3. //lRegen_FileHeading
  4.  
  5.      /********************************************************************
  6.       *
  7.       *   Source File:  addentit.h                                        
  8.       *   Author:                                                         
  9.       *   Module:       Dialog Class for IDOIFACE                         
  10.       *   Program Desc:                                                                                 
  11.       *   Date:         Tue Jan 23 17:38:45 1996                          
  12.       *   Language:     OWL C++ 2.5
  13.       *
  14.       ********************************************************************/
  15.  
  16. #if !defined(__ADDENTITY__H)
  17. #define __ADDENTITY__H
  18.  
  19. //Regen_ClassHeader
  20. //Regen_ClassHeader
  21. // Declare PVData class for data exchanges
  22. class PVaddentityData : public PVData
  23. {
  24. public:
  25.    //lRegen_addentity_Data1
  26.    //lRegen_addentity_Data1
  27.    char         UNAME[80 + 1];
  28.    long         UID;
  29.    char         U_TEXT[80 + 1];
  30.    char         szUCLASSSelection[80];
  31.    CBARRAY      UCLASS;
  32.    PVaddentityData();
  33.    ~PVaddentityData();
  34.    //Regen_addentity_Data2
  35.    //Regen_addentity_Data2
  36.  
  37. };
  38. // Declare PVaddentityDlg, a PVDialog descendant
  39. class PVaddentityDlg : public PVDialog
  40. {
  41. public:
  42.    //lRegen_ClassVariables
  43.    //lRegen_ClassVariables
  44.    PVaddentityData * DlgData() { return (PVaddentityData *)pPVData; }
  45.    //Regen_ClassVarEnd
  46.    //Regen_ClassVarEnd
  47.    //lRegen_ClassMemberFunctions
  48.    //lRegen_ClassMemberFunctions
  49.    TEdit* EditIDC_UNAME;
  50.    TEdit* EditIDC_TEXT;
  51.    TComboBox* CBoxIDC_UCLASS;
  52.    PVaddentityDlg(TWindow *parent, TResId resId, TModule *module = 0);
  53.    virtual ~PVaddentityDlg();
  54.    void SetupWindow();
  55.    void EvMDIActivate(HWND hWndActivated, HWND hWndDeactivated);
  56.    void CmOk();
  57.    void CmCancel();
  58.  
  59. protected:
  60.    //Regen_addentity_Class
  61.    //Regen_addentity_Class
  62.  
  63.    DECLARE_RESPONSE_TABLE(PVaddentityDlg);
  64. };
  65.  
  66. //Regen_ClassCustom
  67. //Regen_ClassCustom
  68. #endif //__ADDENTITY__H
  69.