home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / windows / c / wvplr1 / wavexmpl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-25  |  2.0 KB  |  85 lines

  1. #if !defined(__wavexmpl_h)              // Sentry, use file only if it's not already included.
  2. #define __wavexmpl_h
  3.  
  4. /*  Project wpdemo
  5.     Lighthouse Engineering
  6.     Copyright   1994 by Lighthouse Engineering.  All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    wpdemo.exe Application
  9.     FILE:         wavexmpl.h
  10.     AUTHOR:       K. Scott Piel
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Class definition for WaveExample (TDialog).      
  16. */
  17.  
  18. #include <owl\button.h>
  19. #include <owl\radiobut.h>
  20. #include <owl\edit.h>
  21. #include <owl\owlpch.h>
  22. #pragma hdrstop
  23.  
  24. #include <owl\dialog.h>
  25.  
  26. #include "wpdemo.rh"            // Definition of all resources.
  27.  
  28.  
  29. //{{TDialog = WaveExample}}
  30. struct WaveExampleXfer {
  31. //{{WaveExampleXFER_DATA}}
  32.     char    NumDecimals[ 3 ];
  33.     char    EnunciateValue[ 12 ];
  34.     BOOL    MinusRBtn;
  35.     BOOL    NegativeRBtn;
  36.     BOOL    PLusMinusRBtn;
  37.     BOOL    PosNegRBtn;
  38.     BOOL    PlayFromResourceRBtn;
  39.     BOOL    UnsignedRBtn;
  40.     BOOL    PlayFromDiskRBtn;
  41.     BOOL    DoublesRBtn;
  42.     BOOL    LongsRBtn;
  43. //{{WaveExampleXFER_DATA_END}}
  44. };
  45.  
  46.  
  47. class WaveExample : public TDialog {
  48. public:
  49.     WaveExample (TWindow* parent, TResId resId = IDD_EXAMPLE, TModule* module = 0);
  50.     virtual ~WaveExample ();
  51.  
  52. //{{WaveExampleXFER_DEF}}
  53. protected:
  54.     TEdit *NumDecimals;
  55.     TEdit *EnunciateValue;
  56.     TRadioButton *MinusRBtn;
  57.     TRadioButton *NegativeRBtn;
  58.     TRadioButton *PLusMinusRBtn;
  59.     TRadioButton *PosNegRBtn;
  60.     TRadioButton *PlayFromResourceRBtn;
  61.     TRadioButton *UnsignedRBtn;
  62.     TRadioButton *PlayFromDiskRBtn;
  63.     TRadioButton *DoublesRBtn;
  64.     TRadioButton *LongsRBtn;
  65.  
  66. //{{WaveExampleXFER_DEF_END}}
  67.  
  68. //{{WaveExampleVIRTUAL_BEGIN}}
  69. public:
  70.     virtual void SetupWindow ();
  71. //{{WaveExampleVIRTUAL_END}}
  72.  
  73. //{{WaveExampleRSP_TBL_BEGIN}}
  74. protected:
  75.     void BNClickedSayIt ();
  76.     void BNClickedDoubles ();
  77.     void BNClickedLongs ();
  78. //{{WaveExampleRSP_TBL_END}}
  79. DECLARE_RESPONSE_TABLE(WaveExample);
  80. };    //{{WaveExample}}
  81.  
  82.  
  83. #endif                                      // __wavexmpl_h sentry.
  84.  
  85.