home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / gargprop.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-19  |  1.5 KB  |  51 lines

  1. //==========================================================================;
  2. //
  3. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. //  PURPOSE.
  7. //
  8. //  Copyright (c) 1992 - 1996  Microsoft Corporation.  All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //
  12. // GargProp.h
  13. //
  14. // This file is entirely concerned with the implementation of the
  15. // properties page.
  16.  
  17.  
  18.  
  19. class CGargleProperties : public CBasePropertyPage
  20. {
  21.  
  22. public:
  23.  
  24.     static CUnknown *CreateInstance(LPUNKNOWN lpunk, HRESULT *phr);
  25.  
  26.     HRESULT OnConnect(IUnknown * punk);
  27.     HRESULT OnDisconnect(void);
  28.  
  29.     HRESULT OnDeactivate(void);
  30.  
  31.     CGargleProperties(LPUNKNOWN lpunk, HRESULT *phr);
  32.  
  33. private:
  34.  
  35.     BOOL OnReceiveMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  36.  
  37.     HWND        CreateSlider(HWND hwndParent);
  38.     void        OnSliderNotification(WPARAM wParam);
  39.  
  40.     HWND        m_hwndSlider;   // handle of slider
  41.  
  42.  
  43.     IGargle   *m_pGargle;       // pointer to the IGargle interface of the
  44.                                 // gargle filter.  Set by OnConnect.
  45.  
  46.     int        m_iGargleRate;   // Remember gargle Rate between
  47.                                 // Deactivate / Activate calls.
  48.     int        m_iGargleShape;  // 0 = triangle (default), 1 = square wave.
  49.  
  50. };
  51.