home *** CD-ROM | disk | FTP | other *** search
/ Dan Appleman's Visual Bas…s Guide to the Win32 API / Dan.Applmans.Visual.Basic.5.0.Programmers.Guide.To.The.Win32.API.1997.Ziff-Davis.Press.CD / VB5PG32.mdf / classlib / desaware / dwsize.cls < prev    next >
Encoding:
Text File  |  1996-02-18  |  709 b   |  38 lines

  1. VERSION 1.0 CLASS
  2. BEGIN
  3.   MultiUse = -1  'True
  4. END
  5. Attribute VB_Name = "dwSize"
  6. Attribute VB_Creatable = True
  7. Attribute VB_Exposed = True
  8. Option Explicit
  9.  
  10. ' Class dwSize
  11. ' Desaware API Class library
  12. ' Copyright (c) 1996 by Desaware Inc.
  13. ' All rights reserved
  14.  
  15.  
  16. Private InternalSize As SIZE
  17.  
  18. Private Sub Class_Initialize()
  19.     cx = 0
  20.     cy = 0
  21. End Sub
  22.  
  23. Public Property Get cx() As Long
  24.     cx = InternalSize.cx
  25. End Property
  26.  
  27. Public Property Let cx(vNewValue As Long)
  28.     InternalSize.cx = vNewValue
  29. End Property
  30.  
  31. Public Property Get cy() As Long
  32.     cy = InternalSize.cy
  33. End Property
  34.  
  35. Public Property Let cy(vNewValue As Long)
  36.     InternalSize.cy = vNewValue
  37. End Property
  38.