Click here to Skip to main content
15,891,136 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.8K   2K   40  
A music skill builder
#ifndef __SSPBCTRL_H__
#define __SSPBCTRL_H__

// 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.


// Dispatch interfaces referenced by this interface
class CPicture;
class COleFont;

/////////////////////////////////////////////////////////////////////////////
// CSSPBCtrl wrapper class

class CSSPBCtrl : public CWnd
{
protected:
	DECLARE_DYNCREATE(CSSPBCtrl)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xba686b4, 0xf7d3, 0x101a, { 0x99, 0x3e, 0x0, 0x0, 0xc0, 0xef, 0x6f, 0x5e } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	BOOL GetValue();
	void SetValue(BOOL);
	CString GetFontName();
	void SetFontName(LPCTSTR);
	float GetFontSize();
	void SetFontSize(float);
	BOOL GetFontBold();
	void SetFontBold(BOOL);
	BOOL GetFontItalic();
	void SetFontItalic(BOOL);
	BOOL GetFontStrikethru();
	void SetFontStrikethru(BOOL);
	BOOL GetFontUnderline();
	void SetFontUnderline(BOOL);
	CPicture GetPicture();
	void SetPicture(LPDISPATCH);
	short GetBevelWidth();
	void SetBevelWidth(short);
	BOOL GetOutline();
	void SetOutline(BOOL);
	long GetAutoSize();
	void SetAutoSize(long);
	long GetFont3D();
	void SetFont3D(long);
	BOOL GetRoundedCorners();
	void SetRoundedCorners(BOOL);
	COleFont GetFont();
	void SetFont(LPDISPATCH);
	OLE_COLOR GetForeColor();
	void SetForeColor(OLE_COLOR);
	CString GetCaption();
	void SetCaption(LPCTSTR);
	BOOL GetEnabled();
	void SetEnabled(BOOL);
	long GetMousePointer();
	void SetMousePointer(long);
	CPicture GetMouseIcon();
	void SetMouseIcon(LPDISPATCH);
	BOOL Get_Value();
	void Set_Value(BOOL);
	OLE_HANDLE GetHWnd();
	void SetHWnd(OLE_HANDLE);

// Operations
public:
	void DoClick();
	void Refresh();
	void AboutBox();
};

#endif // __SSPBCTRL_H__

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