Click here to Skip to main content
15,886,963 members
Articles / Desktop Programming / WTL

CPPMessageBox v1.0

Rate me:
Please Sign up or sign in to vote.
4.89/5 (53 votes)
14 Feb 2005CPOL22 min read 174.4K   5.2K   128  
Extended MessageBox class
#if !defined(AFX_PAGEMOREINFO_H__B1D26BB7_0B85_4577_8EE2_B4B396F7A67C__INCLUDED_)
#define AFX_PAGEMOREINFO_H__B1D26BB7_0B85_4577_8EE2_B4B396F7A67C__INCLUDED_

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

#include "ColourPicker.h"
/////////////////////////////////////////////////////////////////////////////
// CPageMoreInfo dialog

class CPageMoreInfo : public CPropertyPage
{
	DECLARE_DYNCREATE(CPageMoreInfo)

// Construction
public:
	CPageMoreInfo();
	~CPageMoreInfo();

// Dialog Data
	//{{AFX_DATA(CPageMoreInfo)
	enum { IDD = IDD_PAGE_MORE_INFO };
	BOOL	m_use_more_info;
	CString	m_moreinfo_txt;
	CColourPicker	m_color_end;
	CColourPicker	m_color_mid;
	CColourPicker	m_color_start;
	int		m_sep_align;
	CString	m_sep_text;
	int		m_sep_type;
	int		m_effect_bk;
//}}AFX_DATA


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

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPageMoreInfo)
	afx_msg void OnChangeMoreInfo();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	afx_msg LONG OnChangeColorBk(UINT lParam = 0, LONG wParam = 0);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PAGEMOREINFO_H__B1D26BB7_0B85_4577_8EE2_B4B396F7A67C__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
Software Developer SvyazInvest
Belarus Belarus
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions