Click here to Skip to main content
15,895,142 members
Articles / Desktop Programming / MFC

The Ultimate Toolbox Home Page

Rate me:
Please Sign up or sign in to vote.
4.97/5 (141 votes)
25 Aug 2007CPOL13 min read 3.2M   91.4K   476  
The Ultimate Toolbox is now Open Source
// ExtendedEditDlg.h : header file
//

#if !defined(AFX_ExtendedEditDlg_H__368B4776_AA35_11D2_A7AA_525400DAF3CE__INCLUDED_)
#define AFX_ExtendedEditDlg_H__368B4776_AA35_11D2_A7AA_525400DAF3CE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "OXEdit.h"
#include "OXColorPickerButton.h"
#include "OXFontPickerButton.h"
#include "OXSeparator.h"

/////////////////////////////////////////////////////////////////////////////
// CExtendedEditDlg dialog

class CExtendedEditDlg : public CPropertyPage
{
// Construction
public:
	CExtendedEditDlg();	// standard constructor

// Dialog Data
	//{{AFX_DATA(CExtendedEditDlg)
	enum { IDD = IDD_EXTENDEDEDIT_DIALOG };
	COXSeparator	m_sepBottom;
	CComboBox	m_comboMask;
	COXSeparator	m_sepNumericEdit;
	COXSeparator	m_sepControlAppearance;
	COXFontPickerButton	m_btnFont;
	COXEdit	m_edit;
	COXColorPickerButton	m_btnTextColor;
	COXColorPickerButton	m_btnBackColor;
	CString	m_sMask;
	CString	m_sTooltipText;
	//}}AFX_DATA
	COLORREF m_clrBack;
	COLORREF m_clrText;
	CFont m_font;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CExtendedEditDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonBackcolor();
	afx_msg void OnButtonTextcolor();
	afx_msg void OnButtonFont();
	afx_msg void OnSelchangeComboMask();
	afx_msg void OnEditchangeComboMask();
	afx_msg void OnChangeEditTooltip();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ExtendedEditDlg_H__368B4776_AA35_11D2_A7AA_525400DAF3CE__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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Canada Canada
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.

Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.
This is a Organisation

476 members

Comments and Discussions