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

A better front end to WinDiff

, 18 Oct 2000 CPOL
A GUI front end to a handy utility
runwindiff.zip
RunWinDiff.exe
runwindiff_src.zip
RunWinDiff_src
res
32x32x256_Browse.ico
32x32x256_Cancel.ico
32x32x256_File.ico
32x32x256_Ok.ico
close.ico
file_ope.ico
help_off.ico
help_on.ico
idr_comp.ico
open.ico
windiff.ico
RunWinDiff.clw
RunWinDiff.dsp
RunWinDiff.dsp.VC5
RunWinDiff.dsw
Release
RunWinDiff.exe
//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

/////////////////////////////////////////////////////////////////////////////
// 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 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"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 9, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif\r\n"
    "#include ""res\\RunWinDiff.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\r\n"
    "#endif\0"
END

#endif    // APSTUDIO_INVOKED


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

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\windiff.ico"
IDI_COMPARE16           ICON    DISCARDABLE     "res\\idr_comp.ico"

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

IDD_RUNWINDIFF_DIALOG DIALOGEX 0, 0, 249, 87
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_APPWINDOW
CAPTION " WinDiff UI"
FONT 8, "MS Sans Serif"
BEGIN
    COMBOBOX        IDC_FILE1,6,4,156,62,CBS_DROPDOWN | CBS_AUTOHSCROLL | 
                    WS_VSCROLL | WS_TABSTOP,WS_EX_ACCEPTFILES
    PUSHBUTTON      "",IDC_BROWSE1,165,1,20,18
    PUSHBUTTON      "",IDC_DIR1,186,1,20,18
    COMBOBOX        IDC_FILE2,6,27,156,65,CBS_DROPDOWN | CBS_AUTOHSCROLL | 
                    WS_VSCROLL | WS_TABSTOP,WS_EX_ACCEPTFILES
    PUSHBUTTON      "",IDC_BROWSE2,165,24,20,18
    PUSHBUTTON      "",IDC_DIR2,186,24,20,18
    CONTROL         "Outline only",IDC_OUTLINE,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,12,48,51,11
    CONTROL         "Reuse",IDC_REUSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    67,48,36,11
    PUSHBUTTON      "More",IDC_EXPAND_BUTTON,165,46,41,14,BS_LEFT
    DEFPUSHBUTTON   "",IDOK,219,1,20,18
    PUSHBUTTON      "",IDCANCEL,219,24,20,18
    EDITTEXT        IDC_WINDIFF,67,69,148,12,ES_AUTOHSCROLL,
                    WS_EX_ACCEPTFILES
    PUSHBUTTON      "",IDC_EXE_DIR,219,69,20,13
    CONTROL         "",IDC_LANDMARK,"Static",SS_BLACKRECT | NOT WS_VISIBLE,7,
                    65,200,1
    PUSHBUTTON      "",IDC_HELPBTN,219,45,20,18
    RTEXT           "WinDiff location:",IDC_STATIC,6,69,57,12,SS_CENTERIMAGE
    CONTROL         "Recursive",IDC_RECURSE,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,107,48,52,11
END

IDD_HELPBOX DIALOGEX 0, 0, 160, 79
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION | 
    WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW
CAPTION " WinDiffUI - Build: 061198-01"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    ICON            IDI_COMPARE16,IDI_COMPARE16,18,13,20,20
    CTEXT           "Copyright � 1998",IDC_STATIC,15,65,137,10,NOT WS_GROUP
    PUSHBUTTON      "",IDOK,129,14,20,18,BS_NOTIFY | WS_GROUP
    GROUPBOX        "",IDC_STATIC,1,0,157,78
    RTEXT           "Authors: ",IDC_STATIC,25,36,44,9,SS_NOPREFIX
    CTEXT           "WinDiff Interface",IDC_STATIC,49,19,61,9,SS_NOPREFIX
    LTEXT           "Chris Maunder",IDC_HYPER1,71,36,55,9,SS_NOPREFIX
    LTEXT           "Daniel Lyons",IDC_HYPER2,71,47,55,9,SS_NOPREFIX
END


#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 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"
        BEGIN
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "RunWinDiff MFC Application\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "RunWinDiff\0"
            VALUE "LegalCopyright", "Copyright (C) 1998\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "RunWinDiff.EXE\0"
            VALUE "ProductName", "RunWinDiff Application\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_RUNWINDIFF_DIALOG, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 244
        TOPMARGIN, 1
    END

    IDD_HELPBOX, DIALOG
    BEGIN
        BOTTOMMARGIN, 78
    END
END
#endif    // APSTUDIO_INVOKED

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


/////////////////////////////////////////////////////////////////////////////
// English (U.K.) resources

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

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

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_BROWSE256           ICON    DISCARDABLE     "res\\32x32x256_Browse.ico"
IDI_CANCEL256           ICON    DISCARDABLE     "res\\32x32x256_Cancel.ico"
IDI_OK256               ICON    DISCARDABLE     "res\\32x32x256_Ok.ico"
IDI_CLOSE               ICON    DISCARDABLE     "res\\close.ico"
IDI_FILE_OPEN           ICON    DISCARDABLE     "res\\32x32x256_File.ico"
IDI_HELP_OFF            ICON    DISCARDABLE     "res\\help_off.ico"
IDI_HELP_ON             ICON    DISCARDABLE     "res\\help_on.ico"
IDI_OPEN                ICON    DISCARDABLE     "res\\open.ico"

/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_CBOX_TOOLTIP        "Enter the files or directories or use the drag and drop feature. "
    IDS_WINDIFF_DIR_TOOLTIP "Enter the working directory for WinDiff.exe"
    IDS_OUTLINE_TOOLTIP     "Open the files in outline mode only"
    IDS_DIR_TOOLTIP         "Select Directory"
    IDS_FILE_TOOLTIP        "Select Files  "
    IDS_CHECK_TOOLTIP       "Compare Files "
    IDS_EXIT_TOOLTIP        "Close Windiff "
    IDS_WINDIFF_BROWSE_TOOLTIP "Browse for the WinDiff executable"
    IDS_CHECK_REUSE         "Reuse an existing Windiff window"
    IDS_EXPAND_BUTTON       "Expand or contract the dialog"
    IDS_HELPBTN             "Info"
END

#endif    // English (U.K.) 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

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif
#include "res\RunWinDiff.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Chris Maunder
Founder CodeProject
Canada Canada
Chris is the Co-founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs The Code Project. He's been programming since 1988 while pretending to be, in various guises, an astrophysicist, mathematician, physicist, hydrologist, geomorphologist, defence intelligence researcher and then, when all that got a bit rough on the nerves, a web developer. He is a Microsoft Visual C++ MVP both globally and for Canada locally.
 
His programming experience includes C/C++, C#, SQL, MFC, ASP, ASP.NET, and far, far too much FORTRAN. He has worked on PocketPCs, AIX mainframes, Sun workstations, and a CRAY YMP C90 behemoth but finds notebooks take up less desk space.
 
He dodges, he weaves, and he never gets enough sleep. He is kind to small animals.
 
Chris was born and bred in Australia but splits his time between Toronto and Melbourne, depending on the weather. For relaxation he is into road cycling, snowboarding, rock climbing, and storm chasing.
Follow on   Twitter   Google+   LinkedIn

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150327.1 | Last Updated 19 Oct 2000
Article Copyright 2000 by Chris Maunder
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid