Click here to Skip to main content
15,881,600 members
Articles / Desktop Programming / MFC

The RGN Generator

Rate me:
Please Sign up or sign in to vote.
4.85/5 (15 votes)
21 Jan 2000 193.9K   6.1K   90  
Creating non-rectangular dialog boxes
// rgndemoDlg.h : header file
//

#if !defined(AFX_RGNDEMODLG_H__INCLUDED_)
#define AFX_RGNDEMODLG_H__INCLUDED_

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

#include "RGNDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CRgnDemoDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CRgnDemoDlg)
	enum { IDD = IDD_RGNDEMO_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CRgnDemoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif 

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.


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions