Click here to Skip to main content
15,896,606 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
#if !defined(AFX_MDCTOGGLEBUTTON_H__11EF168B_3C5A_4817_9528_23C0ADF77A1B__INCLUDED_)
#define AFX_MDCTOGGLEBUTTON_H__11EF168B_3C5A_4817_9528_23C0ADF77A1B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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 COleFont;
class CPicture;

/////////////////////////////////////////////////////////////////////////////
// CMdcToggleButton wrapper class

class CMdcToggleButton : public CWnd
{
protected:
	DECLARE_DYNCREATE(CMdcToggleButton)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x8bd21d60, 0xec42, 0x11ce, { 0x9e, 0xd, 0x0, 0xaa, 0x0, 0x60, 0x2, 0xf3 } };
		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:

// Operations
public:
	void SetAccelerator(LPCTSTR lpszNewValue);
	CString GetAccelerator();
	void SetAlignment(long nNewValue);
	long GetAlignment();
	void SetAutoSize(BOOL bNewValue);
	BOOL GetAutoSize();
	void SetBackColor(long nNewValue);
	long GetBackColor();
	void SetBackStyle(long nNewValue);
	long GetBackStyle();
	void SetCaption(LPCTSTR lpszNewValue);
	CString GetCaption();
	void SetEnabled(BOOL bNewValue);
	BOOL GetEnabled();
	void SetRefFont(LPDISPATCH newValue);
	COleFont GetFont();
	void SetForeColor(long nNewValue);
	long GetForeColor();
	void SetLocked(BOOL bNewValue);
	BOOL GetLocked();
	void SetMouseIcon(LPDISPATCH newValue);
	void SetRefMouseIcon(LPDISPATCH newValue);
	CPicture GetMouseIcon();
	void SetMousePointer(long nNewValue);
	long GetMousePointer();
	void SetPicture(LPDISPATCH newValue);
	void SetRefPicture(LPDISPATCH newValue);
	CPicture GetPicture();
	void SetPicturePosition(long nNewValue);
	long GetPicturePosition();
	void SetSpecialEffect(long nNewValue);
	long GetSpecialEffect();
	void SetTripleState(BOOL bNewValue);
	BOOL GetTripleState();
	void SetValue(VARIANT* newValue);
	VARIANT GetValue();
	void SetWordWrap(BOOL bNewValue);
	BOOL GetWordWrap();
	void SetGroupName(LPCTSTR lpszNewValue);
	CString GetGroupName();
	void SetTextAlign(long nNewValue);
	long GetTextAlign();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MDCTOGGLEBUTTON_H__11EF168B_3C5A_4817_9528_23C0ADF77A1B__INCLUDED_)

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