Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Resizable Property Sheet/Wizard using CDialogResize

, 12 Mar 2007
Make Property Sheet/Wizards resizable without much modification.
resizablepropertysheet.zip
ResizablePropertySheet.exe
watermark.bmp
wihu.bmp
resizablepropertysheet_demo.zip
watermark.bmp
wihu.bmp
ResizablePropertySheet.exe
resizablepropertysheet_src.zip
resizeablepropertysheetsrc.zip
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "atlres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Neutral resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
#ifdef _WIN32
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_1 DIALOGEX 0, 0, 317, 143
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Demo Dialog 1"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    LTEXT           "Name",IDC_STATIC,5,14,19,8
    EDITTEXT        IDC_EDIT1,56,12,256,12,ES_AUTOHSCROLL
    LTEXT           "Organization",IDC_STATIC,5,32,42,8
    EDITTEXT        IDC_EDIT2,56,30,256,12,ES_AUTOHSCROLL
    CONTROL         "Choose Option 1",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,14,119,100,8
    CONTROL         "Choose Option 2",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,14,130,100,8
    LTEXT           "Please choose an Option ...",IDC_LBL_1,14,105,90,8
    LTEXT           "Right Text",IDC_LBL_2,278,105,34,8
    CONTROL         "",IDC_LIST1,"SysListView32",LVS_LIST | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,5,50,307,50
END

IDD_2 DIALOGEX 0, 0, 317, 194
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Completed"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    CONTROL         "Start this application now",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,115,176,103,11
    LTEXT           "Completed - (Double buffered page)",IDC_STATIC,115,7,117,8
    LISTBOX         IDC_LIST1,115,44,195,125,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Installation log",IDC_STATIC,115,30,48,8
END

IDD_0 DIALOGEX 0, 0, 317, 193
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Welcome"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    LTEXT           "CResizablePropertySheet Test Class",IDC_LBL_TITLE,115,7,195,17
    LTEXT           "Please click ""Next"" to continue",IDC_STATIC_NEXT,115,169,112,9
    LTEXT           "Wizard97 Specification requires Welcome and Completion Page to be 317x193 dialog units in size.\r\n\r\nInterior page size should be 317x143 dialog units in size.",IDC_LBL_WELCOME,115,29,195,38
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_1, DIALOG
    BEGIN
        LEFTMARGIN, 5
        RIGHTMARGIN, 312
        VERTGUIDE, 14
        VERTGUIDE, 56
        TOPMARGIN, 5
        BOTTOMMARGIN, 138
        HORZGUIDE, 12
        HORZGUIDE, 30
        HORZGUIDE, 113
    END

    IDD_2, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 310
        VERTGUIDE, 115
        TOPMARGIN, 7
        BOTTOMMARGIN, 187
    END

    IDD_0, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 310
        VERTGUIDE, 115
        TOPMARGIN, 7
        BOTTOMMARGIN, 186
        HORZGUIDE, 169
    END
END
#endif    // APSTUDIO_INVOKED

#endif    // Neutral resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// German (Germany) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
#ifdef _WIN32
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDB_HEADER              BITMAP                  "wihu.bmp"
IDB_WATERMARK           BITMAP                  "watermark.bmp"

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED

#endif    // German (Germany) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""atlres.h""\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

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

bkausbk

Germany Germany
Hobby: system programing (operating system and hardware)
Prefered languages are x86 assembler, c and c++.
Currently student of applied computer science at university of applied sciences Bingen (Germany)

| Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 12 Mar 2007
Article Copyright 2005 by bkausbk
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid