home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.1 / PVDIAL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  1.7 KB  |  62 lines

  1. #ifndef __PVDIAL_H__
  2. #define __PVDIAL_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CPVDial wrapper class
  11.  
  12. class CPVDial : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CPVDial)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0xb283e1f4, 0x2cb3, 0x11d0, { 0xad, 0xa6, 0x0, 0x40, 0x5, 0x20, 0x79, 0x9c } };
  21.         return clsid;
  22.     }
  23.     virtual BOOL Create(LPCTSTR lpszClassName,
  24.         LPCTSTR lpszWindowName, DWORD dwStyle,
  25.         const RECT& rect,
  26.         CWnd* pParentWnd, UINT nID,
  27.         CCreateContext* pContext = NULL)
  28.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  29.  
  30.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  31.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  32.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  33.         BSTR bstrLicKey = NULL)
  34.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  35.         pPersist, bStorage, bstrLicKey); }
  36.  
  37. // Attributes
  38. public:
  39.     BOOL GetEnabled();
  40.     void SetEnabled(BOOL);
  41.     OLE_HANDLE GetHWnd();
  42.     void SetHWnd(OLE_HANDLE);
  43.     long GetMinimumRange();
  44.     void SetMinimumRange(long);
  45.     short GetDirection();
  46.     void SetDirection(short);
  47.     long GetMinimumTurnRange();
  48.     void SetMinimumTurnRange(long);
  49.     long GetMaximumTurnRange();
  50.     void SetMaximumTurnRange(long);
  51.     long GetValue();
  52.     void SetValue(long);
  53.     long GetMaximumRange();
  54.     void SetMaximumRange(long);
  55.  
  56. // Operations
  57. public:
  58.     void AboutBox();
  59. };
  60.  
  61. #endif // __PVDIAL_H__
  62.