text: // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  
  // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  //  Microsoft Visual C++, your modifications will be overwritten.
  
  
  #include "stdafx.h"
  #include "mcbutton.h"
  
  /////////////////////////////////////////////////////////////////////////////
  // CMcButton
  
  IMPLEMENT_DYNCREATE(CMcButton, CWnd)
  
  /////////////////////////////////////////////////////////////////////////////
  // CMcButton properties
  
  BOOL CMcButton::GetPressed()
  {
  	BOOL result;
  	GetProperty(0x3, VT_BOOL, (void*)&result);
  	return result;
  }
  
  void CMcButton::SetPressed(BOOL propVal)
  {
  	SetProperty(0x3, VT_BOOL, propVal);
  }
  
  BOOL CMcButton::GetCanStayPressed()
  {
  	BOOL result;
  	GetProperty(0x1, VT_BOOL, (void*)&result);
  	return result;
  }
  
  void CMcButton::SetCanStayPressed(BOOL propVal)
  {
  	SetProperty(0x1, VT_BOOL, propVal);
  }
  
  BOOL CMcButton::GetAutoPressed()
  {
  	BOOL result;
  	GetProperty(0x2, VT_BOOL, (void*)&result);
  	return result;
  }
  
  void CMcButton::SetAutoPressed(BOOL propVal)
  {
  	SetProperty(0x2, VT_BOOL, propVal);
  }
  
  BOOL CMcButton::GetEnabled()
  {
  	BOOL result;
  	GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
  	return result;
  }
  
  void CMcButton::SetEnabled(BOOL propVal)
  {
  	SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
  }
  
  /////////////////////////////////////////////////////////////////////////////
  // CMcButton operations
  
  long CMcButton::LoadBitmapFromStream(LPUNKNOWN punkStream)
  {
  	long result;
  	static BYTE parms[] =
  		VTS_UNKNOWN;
  	InvokeHelper(0x4, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  		punkStream);
  	return result;
  }
  
  BOOL CMcButton::SetBitmap(long hBitmap)
  {
  	BOOL result;
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0x5, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  		hBitmap);
  	return result;
  }
  