Click here to Skip to main content
6,822,123 members and growing! (18,075 online)
Email Password   helpLost your password?
Web Development » Applications & Tools » Tools with source code     Intermediate License: The Code Project Open License (CPOL)

A better front end to WinDiff

By Chris Maunder

A GUI front end to a handy utility
VC6, Windows, MFC, Dev
Posted:18 Oct 2000
Views:230,924
Bookmarked:43 times
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
46 votes for this article.
Popularity: 7.33 Rating: 4.41 out of 5
1 vote, 4.2%
1
1 vote, 4.2%
2
1 vote, 4.2%
3
4 votes, 16.7%
4
17 votes, 70.8%
5
  • 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)

    About the Author

    Chris Maunder


    Member
    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.
    Occupation: Founder
    Company: The Code Project
    Location: Canada Canada

    Other popular Applications & Tools articles:

    Article Top
    You must Sign In to use this message board.
    FAQ FAQ 
     
    Noise Tolerance  Layout  Per page   
     Msgs 1 to 19 of 19 (Total in Forum: 19) (Refresh)FirstPrevNext
    GeneralSingle launch tickbox Pinmemberplanetjim15:28 3 Dec '09  
    GeneralAwesome :) PinmemberJasmine250113:35 9 Jan '07  
    GeneralRe: Awesome :) PinadminChris Maunder13:39 9 Jan '07  
    GeneralWDCMX... PinmemberShaun Harrington18:15 28 Sep '04  
    GeneralProblem in selecting files ... Pinmembergontivos4:06 18 May '03  
    GeneralI prefer WinMerge PinmemberBlueBird4:57 25 Nov '02  
    GeneralRe: I prefer WinMerge PinmemberTom Welch4:45 3 Mar '03  
    GeneralWindiff+ PinmemberBoostRules23:40 5 Aug '02  
    GeneralRe: Windiff+ PinmemberRancidCrabtree9:32 27 Mar '07  
    GeneralIt doesn't work on WinXP Pinsusscatiger4:47 18 Jul '02  
    GeneralRe: It doesn't work on WinXP PinmemberFrickaFrackaFirecracka SisBoomBah19:34 30 Apr '03  
    GeneralThanx PinmemberAnonymous18:02 24 Jan '02  
    GeneralNice Work! PinmemberRobert Marquardt14:05 2 Dec '01  
    GeneralWinDiff PinsussGeorge Poulose17:23 20 Oct '00  
    GeneralPowerful alternative to WinDiff PinsussLeo0:15 20 Oct '00  
    GeneralCommand line format for Active Movie Control PinsussDuc Truong16:53 19 Oct '00  
    GeneralExcellent front end... Pinsussanon9:48 19 Oct '00  
    GeneralRe: Excellent front end... PinsussChris Maunder11:10 19 Oct '00  
    GeneralRe: Excellent front end... PinsussCrispy12:03 23 Oct '00  

    General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

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

    PermaLink | Privacy | Terms of Use
    Last Updated: 18 Oct 2000
    Editor: Chris Maunder
    Copyright 2000 by Chris Maunder
    Everything else Copyright © CodeProject, 1999-2010
    Web20 | Advertise on the Code Project