home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / PICTURE.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-10  |  1.0 KB  |  51 lines

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2.  
  3. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  4. //  Microsoft Visual C++, your modifications will be overwritten.
  5.  
  6.  
  7. #include "stdafx.h"
  8. #include "picture.h"
  9.  
  10.  
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CPicture properties
  13.  
  14. long CPicture::GetHandle()
  15. {
  16.     long result;
  17.     GetProperty(0x0, VT_I4, (void*)&result);
  18.     return result;
  19. }
  20.  
  21. long CPicture::GetHPal()
  22. {
  23.     long result;
  24.     GetProperty(0x2, VT_I4, (void*)&result);
  25.     return result;
  26. }
  27.  
  28. short CPicture::GetType()
  29. {
  30.     short result;
  31.     GetProperty(0x3, VT_I2, (void*)&result);
  32.     return result;
  33. }
  34.  
  35. long CPicture::GetWidth()
  36. {
  37.     long result;
  38.     GetProperty(0x4, VT_I4, (void*)&result);
  39.     return result;
  40. }
  41.  
  42. long CPicture::GetHeight()
  43. {
  44.     long result;
  45.     GetProperty(0x5, VT_I4, (void*)&result);
  46.     return result;
  47. }
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50. // CPicture operations
  51.