home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Examples / Apps / SysSound / MAINFORM.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  1.3 KB  |  40 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef mainformH
  7. #define mainformH
  8. //---------------------------------------------------------------------------
  9. #include <Classes.hpp>
  10. #include <Controls.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Forms.hpp>
  13. #include <ComCtrls.hpp>
  14. struct soundinfo
  15. {
  16.     char *name;
  17.     UINT value;
  18.     char *param;
  19. };
  20. //---------------------------------------------------------------------------
  21. class TForm1 : public TForm
  22. {
  23. __published:    // IDE-managed Components
  24.     TLabel *Label1;
  25.     TListBox *ListBox1;
  26.     TButton *Button1;
  27.     TLabel *Label2;
  28.     void __fastcall Button1Click(TObject *Sender);
  29.  
  30.     void __fastcall FormCreate(TObject *Sender);
  31.     
  32. private:    // User declarations
  33. public:        // User declarations
  34.     virtual __fastcall TForm1(TComponent* Owner);
  35. };
  36. //---------------------------------------------------------------------------
  37. extern TForm1 *Form1;
  38. //---------------------------------------------------------------------------
  39. #endif
  40.