Click here to Skip to main content
13,297,411 members (74,425 online)
Click here to Skip to main content


282 bookmarked
Posted 10 Dec 2001

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
// Microsoft Developer Studio generated include file.
// Used by EasySizeDemo.rc
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_EASYSIZEDEMO_DIALOG         102
#define IDR_MAINFRAME                   128
#define IDC_STATUS                      1000
#define IDC_CONTENT                     1001
#define IDC_RADIO1                      1002
#define IDC_RADIO2                      1003
#define IDC_TITLE                       1004
#define IDC_STATUSFRAME                 1005
#define IDC_MYICON1                     1007
#define IDC_MYICON2                     1008
#define IDC_MIDFRAME                    1009
#define IDC_MIDRECT                     1010

// Next default values for new objects
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1011
#define _APS_NEXT_SYMED_VALUE           101

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.


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


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...

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