Click here to Skip to main content
Click here to Skip to main content

A better front end to WinDiff

By , 18 Oct 2000
Rate this:
Please Sign up or sign in to vote.
<!-- Download Links -->
  • Download source files - 65 Kb
  • Download executable - 20 Kb
  • <!-- Article image -->

    Sample Image - RunWinDiff.gif

    <!-- Main HTML starts here -->

    Introduction

    If you have ever used WinDiff you will be aware of its poor user interface for selecting files and directories. To this end I developed a simple application that acts as a front end to WinDiff and allows you to drag and drop files or directories, or browse for files and directories using the file and directory chooser dialogs.

    The program also remembers its last screen location, the files last compared and the whether or not the dialog was expanded or contracted. The sample demonstrates collapsable dialogs, window position persistance, and also demonstrates a variation of Chris Losinger's great CDropEdit class (in this case a drop-file combobox).

    New features

    • Extensive use has been made of Davide Calibro's flat buttons, thanks to Daniel Lyons who felt my original UI was a bit boring and gave it a major facelift. Thanks Daniel!
    • The combo's accept dropped files (previously used drop edit controls) and are auto-completing. They store the last 10 files entered and the drop width is modified each time a file is added in order to display as much as possible.
    • Directory pickers start from the last directory visited.
    • My ComboBoxEx class has been renamed - hopefully this will fix the VC6 compilation problem.

    Thanks to:

    • Chris Losinger - Drop Edit
    • Vladimir Kvashin, Girish Bharadwaj and Lars Klose - Directory picker class
    • Davide Calibro - Flat buttons
    • Daniel Lyons - UI work and a new approach to collapsable dialogs.
    • Klaus - suggested setting the initial directory of the directory pickers. No idea why I didn't do that in the first place!

    License

    This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    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

    Comments and Discussions

     
    GeneralProblem in selecting files ... Pinmembergontivos18-May-03 3:06 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

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