Click here to Skip to main content
11,480,626 members (63,536 online)
Click here to Skip to main content

A better front end to WinDiff

, 18 Oct 2000 CPOL 288.3K 9.3K 51
Rate this:
Please Sign up or sign in to vote.
A GUI front end to a handy utility
<!-- 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)

    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

    Comments and Discussions

     
    GeneralMy vote of 5 Pin
    Sudhakar Shinde19-Mar-13 23:18
    memberSudhakar Shinde19-Mar-13 23:18 
    General5/5 Pin
    BloodBaz13-Oct-11 2:11
    memberBloodBaz13-Oct-11 2:11 
    GeneralRe: 5/5 Pin
    Chris Maunder13-Oct-11 2:53
    adminChris Maunder13-Oct-11 2:53 
    BugDisplay problem and a couple suggestions Pin
    JimLS24-Aug-11 6:03
    memberJimLS24-Aug-11 6:03 
    GeneralRe: Display problem and a couple suggestions Pin
    BloodBaz13-Oct-11 2:09
    memberBloodBaz13-Oct-11 2:09 
    GeneralMy vote of 3 Pin
    JFergulbops7-Oct-10 0:08
    memberJFergulbops7-Oct-10 0:08 
    GeneralSingle launch tickbox Pin
    planetjim3-Dec-09 15:28
    memberplanetjim3-Dec-09 15:28 
    GeneralAwesome :) Pin
    Jasmine25019-Jan-07 13:35
    memberJasmine25019-Jan-07 13:35 
    GeneralRe: Awesome :) Pin
    Chris Maunder9-Jan-07 13:39
    adminChris Maunder9-Jan-07 13:39 
    GeneralWDCMX... Pin
    Shaun Harrington28-Sep-04 18:15
    memberShaun Harrington28-Sep-04 18:15 
    GeneralProblem in selecting files ... Pin
    gontivos18-May-03 4:06
    membergontivos18-May-03 4:06 
    GeneralI prefer WinMerge Pin
    BlueBird25-Nov-02 4:57
    memberBlueBird25-Nov-02 4:57 
    GeneralRe: I prefer WinMerge Pin
    Tom Welch3-Mar-03 4:45
    memberTom Welch3-Mar-03 4:45 
    GeneralWindiff+ Pin
    BoostRules5-Aug-02 23:40
    memberBoostRules5-Aug-02 23:40 
    GeneralRe: Windiff+ Pin
    RancidCrabtree27-Mar-07 9:32
    memberRancidCrabtree27-Mar-07 9:32 
    GeneralIt doesn't work on WinXP Pin
    catiger18-Jul-02 4:47
    susscatiger18-Jul-02 4:47 
    GeneralRe: It doesn't work on WinXP Pin
    FrickaFrackaFirecracka SisBoomBah30-Apr-03 19:34
    memberFrickaFrackaFirecracka SisBoomBah30-Apr-03 19:34 
    GeneralRe: It doesn't work on WinXP Pin
    JFergulbops6-Oct-10 23:51
    memberJFergulbops6-Oct-10 23:51 
    GeneralThanx Pin
    Anonymous124-Jan-02 8:02
    memberAnonymous124-Jan-02 8:02 
    GeneralNice Work! Pin
    Robert Marquardt2-Dec-01 14:05
    memberRobert Marquardt2-Dec-01 14:05 
    GeneralWinDiff Pin
    George Poulose20-Oct-00 17:23
    sussGeorge Poulose20-Oct-00 17:23 
    GeneralPowerful alternative to WinDiff Pin
    Leo20-Oct-00 0:15
    sussLeo20-Oct-00 0:15 
    GeneralCommand line format for Active Movie Control Pin
    Duc Truong19-Oct-00 16:53
    sussDuc Truong19-Oct-00 16:53 
    GeneralExcellent front end... Pin
    anon19-Oct-00 9:48
    sussanon19-Oct-00 9:48 
    GeneralRe: Excellent front end... Pin
    Chris Maunder19-Oct-00 11:10
    sussChris Maunder19-Oct-00 11:10 
    GeneralRe: Excellent front end... Pin
    Crispy23-Oct-00 12:03
    sussCrispy23-Oct-00 12:03 

    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 | Terms of Use | Mobile
    Web04 | 2.8.150520.1 | Last Updated 19 Oct 2000
    Article Copyright 2000 by Chris Maunder
    Everything else Copyright © CodeProject, 1999-2015
    Layout: fixed | fluid