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

Win32 Simple Application AppWizard

, 22 Jun 2004
An article on creating an AppWizard to create Win32 based applications.
win32appwiz_src.zip
SimpleApplicationWizard
hlp
SIMPLEAPPLICATIONWIZARD.HLP
SimpleApplicationWizard.hm
SimpleApplicationWizard.hpj
SimpleApplicationWizard.LOG
SimpleApplicationWizard.ph
SimpleApplicationWizard.rtf
res
SimpleApplicationWizard.ico
SimpleApplicationWizard.dsp
SimpleApplicationWizard.dsw
Template
confirm.inf
newproj.inf
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

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

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

/////////////////////////////////////////////////////////////////////////////
// Italian (Italy) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ITA)
#ifdef _WIN32
LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN
#pragma code_page(1252)
#endif //_WIN32

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

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

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

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "#include ""afxres.rc""  // Standard components\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,1
 PRODUCTVERSION 1,0,0,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"
        BEGIN
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "SIMPLEAPPLICATIONWIZARD AppWizard\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "SIMPLEAPPLICATIONWIZARD\0"
            VALUE "LegalCopyright", "Copyright � 2004\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "SIMPLEAPPLICATIONWIZARD.DLL\0"
            VALUE "ProductName", "SimpleApplicationWizard AppWizard\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


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

IDD_CUSTOM1 DIALOG DISCARDABLE  0, 0, 303, 197
STYLE DS_CONTROL | WS_CHILD | WS_TABSTOP
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "Window Based",IDC_RADIO_WINDOW_BASED,"Button",
                    BS_AUTORADIOBUTTON,31,44,64,10
    CONTROL         "Dialog Based",IDC_RADIO_DIALOG_BASED,"Button",
                    BS_AUTORADIOBUTTON,31,60,58,10
    GROUPBOX        "Win32 Application Type",IDC_STATIC,12,27,278,101
    CONTROL         "Use Common Controls Library",
                    IDC_CHECK_INIT_COMMON_CONTROLS,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,31,86,108,10
    CONTROL         "Use Winsock",IDC_CHECK_USE_WINSOCK,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,31,106,59,10
END


/////////////////////////////////////////////////////////////////////////////
//
// TEMPLATE
//

NEWPROJ.INF             TEMPLATE DISCARDABLE    "template\\newproj.inf"
CONFIRM.INF             TEMPLATE DISCARDABLE    "template\\confirm.inf"
SAFX.H                  TEMPLATE DISCARDABLE    "Template\\SAfx.h"
ROOT.CPP                TEMPLATE DISCARDABLE    "Template\\root.cpp"
ROOT.RC                 TEMPLATE DISCARDABLE    "Template\\root.rc"
SAFX.CPP                TEMPLATE DISCARDABLE    "Template\\SAfx.cpp"
RESOURCE.H              TEMPLATE DISCARDABLE    "Template\\resource.h"

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_SIMPLEAPPLICATIONWIZARD ICON    DISCARDABLE     "res\\SimpleApplicationWizard.ico"
#endif    // Italian (Italy) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#include "afxres.rc"  // Standard components

/////////////////////////////////////////////////////////////////////////////
#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

Fabio Fornaro
Software Developer (Senior)
Italy Italy
Worked as a Java developer targeting J2EE and J2SE for half a decade.
 
Now he's employed for Avanade as a Senior Associate Consultant on Microsoft technologies.
 
His hobbies are Win32 programming using SDK, MFC, ATL and COM; playing guitar and listening to music.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.1411023.1 | Last Updated 23 Jun 2004
Article Copyright 2004 by Fabio Fornaro
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid