brbrowse.cpp

SmaugWizard/Src/brbrowse.cpp · 1.5 KB

From the archive SmaugWiz203.zip

Download the archive   « Back to the archive contents

// 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 "brbrowse.h"

/////////////////////////////////////////////////////////////////////////////
// CBrBrowse

IMPLEMENT_DYNCREATE(CBrBrowse, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CBrBrowse properties

CString CBrBrowse::GetCaption()
{
	CString result;
	GetProperty(DISPID_CAPTION, VT_BSTR, (void*)&result);
	return result;
}

void CBrBrowse::SetCaption(LPCTSTR propVal)
{
	SetProperty(DISPID_CAPTION, VT_BSTR, propVal);
}

CString CBrBrowse::GetFileSpec()
{
	CString result;
	GetProperty(0x1, VT_BSTR, (void*)&result);
	return result;
}

void CBrBrowse::SetFileSpec(LPCTSTR propVal)
{
	SetProperty(0x1, VT_BSTR, propVal);
}

BOOL CBrBrowse::GetDirsOnly()
{
	BOOL result;
	GetProperty(0x2, VT_BOOL, (void*)&result);
	return result;
}

void CBrBrowse::SetDirsOnly(BOOL propVal)
{
	SetProperty(0x2, VT_BOOL, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CBrBrowse operations

CString CBrBrowse::GetResult()
{
	CString result;
	InvokeHelper(0x3, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CBrBrowse::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

Site Stats

Snippets: 1791
Codebases: 571