Click here to Skip to main content
12,402,189 members (71,709 online)
Click here to Skip to main content

Stats

543.4K views
22.9K downloads
273 bookmarked
Posted

EasySize - Dialog resizing in no time!

, 23 Mar 2007
An easy way to position controls in resizable dialogs or property pages using just a few macros
// EasySizeDemo.h : main header file for the EASYSIZEDEMO application
//

#if !defined(AFX_EASYSIZEDEMO_H__D3C265E9_B9D5_4E5C_8413_4FCB666C1776__INCLUDED_)
#define AFX_EASYSIZEDEMO_H__D3C265E9_B9D5_4E5C_8413_4FCB666C1776__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CEasySizeDemoApp:
// See EasySizeDemo.cpp for the implementation of this class
//

class CEasySizeDemoApp : public CWinApp
{
public:
	CEasySizeDemoApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEasySizeDemoApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CEasySizeDemoApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_EASYSIZEDEMO_H__D3C265E9_B9D5_4E5C_8413_4FCB666C1776__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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Marc Richarme
Engineer Nokia
Denmark Denmark
My programming experience started a long time ago in
QBasic (on a 25MHz 486).
I'm now mainly using Java, C++, C, MFC, Perl and PHP, but have used quite a number of other languages as well for various projects.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160721.1 | Last Updated 23 Mar 2007
Article Copyright 2001 by Marc Richarme
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid