home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / scentsls / sldemo3.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-20  |  2.5 KB  |  84 lines

  1. //***************************************************************************
  2. //
  3. // SLDEMO3.H - Header file
  4. //
  5. // Steven R Clabaugh
  6. // SRC Enterprises
  7. //
  8. //***************************************************************************
  9.  
  10. //***************************************************************************
  11. //***************************************************************************
  12. //
  13. //  Define the application object class
  14. //
  15. //***************************************************************************
  16. //***************************************************************************
  17. class CTheApp : public CWinApp
  18. {
  19.  
  20.    //***************************************
  21.    // Data Members
  22.    //***************************************
  23.  
  24.    private:
  25.  
  26.       // Window Class Name
  27.       // Initialized by AfxRegisterWndClass call in InitApplication
  28.       CString m_WndClassName;
  29.  
  30.    //***************************************
  31.    // Function Members
  32.    //***************************************
  33.  
  34.    protected:
  35.  
  36.       virtual BOOL InitApplication();
  37.       virtual BOOL InitInstance();
  38.  
  39. }; // End Class CTheApp
  40. //***************************************************************************
  41. //***************************************************************************
  42.  
  43. //***************************************************************************
  44. //***************************************************************************
  45. //
  46. //  Define the application's main window object class
  47. //
  48. //***************************************************************************
  49. //***************************************************************************
  50. class CMainWnd : public CFrameWnd
  51. {
  52.  
  53.    //***************************************
  54.    // Data Members
  55.    //***************************************
  56.  
  57.    public:
  58.  
  59.       CSRCEntSL m_MySlider, m_MyGauge;
  60.  
  61.    //***************************************
  62.    // Function Members
  63.    //***************************************
  64.  
  65.    public:
  66.  
  67.       CMainWnd(CString ClassName);   // Constructor
  68.  
  69.    // *** Message Map
  70.    protected:
  71.  
  72.       //{{AFX_MSG(CMainWnd)
  73.       afx_msg void OnAbout();
  74.       afx_msg int  OnCreate(LPCREATESTRUCT lpCreateStruct);
  75.       afx_msg void OnMySlider();
  76.       //}}AFX_MSG
  77.       DECLARE_MESSAGE_MAP()     // Should be last in the class definition
  78.  
  79.  
  80. }; // END Class CMainWnd
  81. //***************************************************************************
  82. //***************************************************************************
  83.  
  84.