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

A better front end to WinDiff

, 18 Oct 2000
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
// RunWinDiff.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "RunWinDiff.h"
#include "RunWinDiffDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRunWinDiffApp

BEGIN_MESSAGE_MAP(CRunWinDiffApp, CWinApp)
	//{{AFX_MSG_MAP(CRunWinDiffApp)
	//}}AFX_MSG
	ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CRunWinDiffApp construction

CRunWinDiffApp::CRunWinDiffApp()
{
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CRunWinDiffApp object

CRunWinDiffApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CRunWinDiffApp initialization

BOOL CRunWinDiffApp::InitInstance()
{
	// Standard initialization

#ifdef _AFXDLL
	Enable3dControls();			// Call this when using MFC in a shared DLL
#else
	Enable3dControlsStatic();	// Call this when linking to MFC statically
#endif

    SetRegistryKey(_T("Codeguru samples"));

	CRunWinDiffDlg dlg;
	m_pMainWnd = &dlg;
	int nResponse = dlg.DoModal();
	if (nResponse == IDOK)
	{
	}
	else if (nResponse == IDCANCEL)
	{
	}

	// Since the dialog has been closed, return FALSE so that we exit the
	//  application, rather than start the application's message pump.
	return FALSE;
}

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 | Mobile
Web03 | 2.8.140916.1 | Last Updated 19 Oct 2000
Article Copyright 2000 by Chris Maunder
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid