Click here to Skip to main content
15,895,142 members
Articles / Multimedia / DirectX

A DirectX Wrapper

Rate me:
Please Sign up or sign in to vote.
4.69/5 (20 votes)
18 Jul 200333 min read 181.2K   4.3K   66  
A DirectX Wrapper
#if !defined(AFX_RADIOPROPDIALOG_H__AA13305C_9755_4580_A34F_EC3B25A0CC21__INCLUDED_)
#define AFX_RADIOPROPDIALOG_H__AA13305C_9755_4580_A34F_EC3B25A0CC21__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RadioPropDialog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CRadioPropDialog dialog

class CRadioPropDialog : public CDialog
{
// Construction
public:
	DWORD m_darkColour;
	DWORD m_mediumColour;
	DWORD m_lightColour;
    DWORD m_activeColour;
    DWORD m_inactiveColour;
	CRadioPropDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CRadioPropDialog)
	enum { IDD = IDD_DIALOG_RADIO_PROP };
	BOOL	m_isInvisible;
	BOOL	m_isUp;
	BOOL	m_isVertical;
	int		m_height;
	UINT	m_ID;
	int		m_numberButtons;
	int		m_width;
	int		m_X;
	int		m_Y;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRadioPropDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CRadioPropDialog)
	afx_msg void OnButtonDark();
	afx_msg void OnButtonLight();
	afx_msg void OnButtonMedium();
	afx_msg void OnPaint();
	afx_msg void OnButtonActivecolour();
	afx_msg void OnButtonInactivecolour();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_RADIOPROPDIALOG_H__AA13305C_9755_4580_A34F_EC3B25A0CC21__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
Software Developer (Senior)
Canada Canada
Professional Programmer living in Beautiful Vancouver, BC, Canada.

Comments and Discussions