Click here to Skip to main content
15,892,643 members
Articles / Multimedia / GDI

Custom Captions (Including Multi-line Captions)

Rate me:
Please Sign up or sign in to vote.
5.00/5 (9 votes)
15 Jul 2000CPOL 241K   6.8K   63  
Simple customised Window captions, including multi-line captions
#if !defined(AFX_MAXLINESDIALOG_H__51D07179_28D6_4979_8D54_41DA13C211AC__INCLUDED_)
#define AFX_MAXLINESDIALOG_H__51D07179_28D6_4979_8D54_41DA13C211AC__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMaxLinesDialog dialog

class CMaxLinesDialog : public CDialog
{
// Construction
public:
	CMaxLinesDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CMaxLinesDialog)
	enum { IDD = IDD_MAX_LINES_DIALOG };
	CString	m_StrMaxLines;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMaxLinesDialog)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

Comments and Discussions