Click here to Skip to main content
15,897,891 members
Articles / Desktop Programming / MFC

Pitch

Rate me:
Please Sign up or sign in to vote.
3.07/5 (9 votes)
9 Jun 20034 min read 99.9K   2K   40  
A music skill builder
// 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 "listv.h"

// Dispatch interfaces referenced by this interface
#include "picture.h"
#include "font.h"

/////////////////////////////////////////////////////////////////////////////
// Clistv

IMPLEMENT_DYNCREATE(Clistv, CWnd)

/////////////////////////////////////////////////////////////////////////////
// Clistv properties

long Clistv::GetArrange()
{
	long result;
	GetProperty(0x1, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetArrange(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

BOOL Clistv::GetHideColumnHeaders()
{
	BOOL result;
	GetProperty(0x4, VT_BOOL, (void*)&result);
	return result;
}

void Clistv::SetHideColumnHeaders(BOOL propVal)
{
	SetProperty(0x4, VT_BOOL, propVal);
}

BOOL Clistv::GetHideSelection()
{
	BOOL result;
	GetProperty(0x5, VT_BOOL, (void*)&result);
	return result;
}

void Clistv::SetHideSelection(BOOL propVal)
{
	SetProperty(0x5, VT_BOOL, propVal);
}

long Clistv::GetLabelEdit()
{
	long result;
	GetProperty(0x8, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetLabelEdit(long propVal)
{
	SetProperty(0x8, VT_I4, propVal);
}

BOOL Clistv::GetLabelWrap()
{
	BOOL result;
	GetProperty(0x9, VT_BOOL, (void*)&result);
	return result;
}

void Clistv::SetLabelWrap(BOOL propVal)
{
	SetProperty(0x9, VT_BOOL, propVal);
}

CPicture Clistv::GetMouseIcon()
{
	LPDISPATCH pDispatch;
	GetProperty(0xa, VT_DISPATCH, (void*)&pDispatch);
	return CPicture(pDispatch);
}

void Clistv::SetMouseIcon(LPDISPATCH propVal)
{
	SetProperty(0xa, VT_DISPATCH, propVal);
}

long Clistv::GetMousePointer()
{
	long result;
	GetProperty(0xb, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetMousePointer(long propVal)
{
	SetProperty(0xb, VT_I4, propVal);
}

BOOL Clistv::GetMultiSelect()
{
	BOOL result;
	GetProperty(0xc, VT_BOOL, (void*)&result);
	return result;
}

void Clistv::SetMultiSelect(BOOL propVal)
{
	SetProperty(0xc, VT_BOOL, propVal);
}

BOOL Clistv::GetSorted()
{
	BOOL result;
	GetProperty(0xf, VT_BOOL, (void*)&result);
	return result;
}

void Clistv::SetSorted(BOOL propVal)
{
	SetProperty(0xf, VT_BOOL, propVal);
}

short Clistv::GetSortKey()
{
	short result;
	GetProperty(0x10, VT_I2, (void*)&result);
	return result;
}

void Clistv::SetSortKey(short propVal)
{
	SetProperty(0x10, VT_I2, propVal);
}

long Clistv::GetSortOrder()
{
	long result;
	GetProperty(0x11, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetSortOrder(long propVal)
{
	SetProperty(0x11, VT_I4, propVal);
}

long Clistv::GetView()
{
	long result;
	GetProperty(0x12, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetView(long propVal)
{
	SetProperty(0x12, VT_I4, propVal);
}

short Clistv::GetAppearance()
{
	short result;
	GetProperty(DISPID_APPEARANCE, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetAppearance(short propVal)
{
	SetProperty(DISPID_APPEARANCE, VT_I4, propVal);
}

OLE_COLOR Clistv::GetBackColor()
{
	OLE_COLOR result;
	GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetBackColor(OLE_COLOR propVal)
{
	SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
}

short Clistv::GetBorderStyle()
{
	short result;
	GetProperty(DISPID_BORDERSTYLE, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetBorderStyle(short propVal)
{
	SetProperty(DISPID_BORDERSTYLE, VT_I4, propVal);
}

BOOL Clistv::GetEnabled()
{
	BOOL result;
	GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
	return result;
}

void Clistv::SetEnabled(BOOL propVal)
{
	SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
}

COleFont Clistv::GetFont()
{
	LPDISPATCH pDispatch;
	GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
	return COleFont(pDispatch);
}

void Clistv::SetFont(LPDISPATCH propVal)
{
	SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
}

OLE_COLOR Clistv::GetForeColor()
{
	OLE_COLOR result;
	GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetForeColor(OLE_COLOR propVal)
{
	SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
}

OLE_HANDLE Clistv::GetHWnd()
{
	OLE_HANDLE result;
	GetProperty(DISPID_HWND, VT_I4, (void*)&result);
	return result;
}

void Clistv::SetHWnd(OLE_HANDLE propVal)
{
	SetProperty(DISPID_HWND, VT_I4, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// Clistv operations

void Clistv::StartLabelEdit()
{
	InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void Clistv::Refresh()
{
	InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

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

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions