Click here to Skip to main content
14,266,286 members

A better front end to WinDiff

Rate this:
4.67 (26 votes)
Please Sign up or sign in to vote.
4.67 (26 votes)
18 Oct 2000CPOL
A GUI front end to a handy utility
  • Download source files - 65 Kb
  • Download executable - 20 Kb
  • Sample Image - RunWinDiff.gif

    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 CodeProject. He is also co-founder of Developer Media and ContentLab.IO. He's been programming since the 80's and has been, in various guides, an astrophysicist, bacyard mechanic, mathematician, physicist, breeder of carnivorous plants, hydrologist, geomorphologist, defence intelligence researcher and then, when all that got a bit rough on the nerves, a web developer.

    His programming experience includes C/C++, C#, SQL, MFC, ASP.NET, TypeScript and far, far too much FORTRAN. He has worked on PocketPCs, Old mainframes, new Macs, cheap phones, and a CRAY YMP C90 behemoth but finds notebooks take up less desk space.

    He is kind to small animals and has a soft spot for cheesecake.

    Chris was born and bred in Australia but splits his time between Toronto and Melbourne, depending on the weather. For relaxation he is obsessively into road cycling, physiology, occasionally snowboarding and rock climbing, and wishes he were a storm chaser.

    Comments and Discussions

     
    GeneralMy vote of 5 Pin
    Sudhakar Shinde19-Mar-13 22:18
    memberSudhakar Shinde19-Mar-13 22:18 
    General5/5 Pin
    BloodBaz13-Oct-11 1:11
    memberBloodBaz13-Oct-11 1:11 
    GeneralRe: 5/5 Pin
    Chris Maunder13-Oct-11 1:53
    adminChris Maunder13-Oct-11 1:53 
    BugDisplay problem and a couple suggestions Pin
    JimLS24-Aug-11 5:03
    memberJimLS24-Aug-11 5:03 
    GeneralRe: Display problem and a couple suggestions Pin
    BloodBaz13-Oct-11 1:09
    memberBloodBaz13-Oct-11 1:09 
    GeneralMy vote of 3 Pin
    Sherylee6-Oct-10 23:08
    memberSherylee6-Oct-10 23:08 
    GeneralSingle launch tickbox Pin
    planetjim3-Dec-09 14:28
    memberplanetjim3-Dec-09 14:28 
    GeneralAwesome :) Pin
    Jasmine25019-Jan-07 12:35
    memberJasmine25019-Jan-07 12:35 
    GeneralRe: Awesome :) Pin
    Chris Maunder9-Jan-07 12:39
    adminChris Maunder9-Jan-07 12:39 
    GeneralWDCMX... Pin
    Shaun Harrington28-Sep-04 17:15
    memberShaun Harrington28-Sep-04 17:15 
    GeneralProblem in selecting files ... Pin
    gontivos18-May-03 3:06
    membergontivos18-May-03 3:06 
    GeneralI prefer WinMerge Pin
    BlueBird25-Nov-02 3:57
    memberBlueBird25-Nov-02 3:57 
    GeneralRe: I prefer WinMerge Pin
    Tom Welch3-Mar-03 3:45
    memberTom Welch3-Mar-03 3:45 
    GeneralWindiff+ Pin
    BoostRules5-Aug-02 22:40
    memberBoostRules5-Aug-02 22:40 
    GeneralRe: Windiff+ Pin
    RancidCrabtree27-Mar-07 8:32
    memberRancidCrabtree27-Mar-07 8:32 
    GeneralIt doesn't work on WinXP Pin
    Catiger18-Jul-02 3:47
    memberCatiger18-Jul-02 3:47 
    GeneralRe: It doesn't work on WinXP Pin
    FrickaFrackaFirecracka SisBoomBah30-Apr-03 18:34
    memberFrickaFrackaFirecracka SisBoomBah30-Apr-03 18:34 
    GeneralRe: It doesn't work on WinXP Pin
    Sherylee6-Oct-10 22:51
    memberSherylee6-Oct-10 22:51 
    GeneralThanx Pin
    24-Jan-02 7:02
    suss24-Jan-02 7:02 
    GeneralNice Work! Pin
    Robert Marquardt2-Dec-01 13:05
    memberRobert Marquardt2-Dec-01 13:05 
    GeneralWinDiff Pin
    G Poulose20-Oct-00 16:23
    memberG Poulose20-Oct-00 16:23 
    GeneralPowerful alternative to WinDiff Pin
    Leo Davidson19-Oct-00 23:15
    memberLeo Davidson19-Oct-00 23:15 
    GeneralCommand line format for Active Movie Control Pin
    Duc Truong19-Oct-00 15:53
    memberDuc Truong19-Oct-00 15:53 
    GeneralExcellent front end... Pin
    yaku19-Oct-00 8:48
    memberyaku19-Oct-00 8:48 
    GeneralRe: Excellent front end... Pin
    Chris Maunder19-Oct-00 10:10
    adminChris Maunder19-Oct-00 10:10 

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

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

    Article
    Posted 18 Oct 2000

    Stats

    310K views
    9.7K downloads
    53 bookmarked