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

CPPHtmlStatic v1.2

Rate me:
Please Sign up or sign in to vote.
4.94/5 (69 votes)
18 May 2012CPOL10 min read 307.6K   9.3K   185  
A control based on CStatic for displaying HTML-like text formatting elements.
#if !defined(AFX_PAGESTYLES_H__E0CE5AB5_835D_4826_8678_02C516FA158B__INCLUDED_)
#define AFX_PAGESTYLES_H__E0CE5AB5_835D_4826_8678_02C516FA158B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPageStyles dialog

class CPageStyles : public CPropertyPage
{
	DECLARE_DYNCREATE(CPageStyles)

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

// Dialog Data
	//{{AFX_DATA(CPageStyles)
	enum { IDD = IDD_PAGE_STYLES };
	BOOL	m_border;
	BOOL	m_client_edge;
	BOOL	m_static_edge;
	BOOL	m_modal_frame;
	//}}AFX_DATA


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

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPageStyles)
	virtual BOOL OnInitDialog();
	afx_msg void OnChangeStyles();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_PAGESTYLES_H__E0CE5AB5_835D_4826_8678_02C516FA158B__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