A better front end to WinDiff
2005-12-29 12:19
288 查看
This article was contributed by Chris Maunder.
![](http://www.vckbase.com/english/code/samples/run_windiff.gif)
Environment: VC5.0 SP3, VC6.0, Win95, NT4
If you have ever used WinDiff you will be aware of how poor the user interface for specifying the files or directories is. 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 it's 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).
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.
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!
Download executable - 20 KB
Download source - 41 KB
Last Updated: November 10, 1998
![](http://www.vckbase.com/english/code/samples/run_windiff.gif)
Environment: VC5.0 SP3, VC6.0, Win95, NT4
If you have ever used WinDiff you will be aware of how poor the user interface for specifying the files or directories is. 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 it's 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 EditVladimir 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!
Download executable - 20 KB
Download source - 41 KB
Last Updated: November 10, 1998
相关文章推荐
- 8 Tips To Become A Better Front End Developer
- some advise to write Front end Engineer resume
- How to display fields in the frontend item view
- THE DEAD-SIMPLE STEP-BY-STEP GUIDE FOR FRONT-END DEVELOPERS TO GETTING UP AND RUNNING WITH NODE.JS,
- 14.Adding Frontend Files to your Module
- Multiple annotations found at this line: - Consider adding android:paddingEnd="10dp" to better supp
- 解决 ECMall 错误 Call to a member function get() on a non-object in frontend.base.php
- Where to find a NetWeaver BW/BI 7.x Frontend Support Package
- SCIM输入启动遭遇“Failed to load x11 FrontEnd module. ”错误
- docker制作镜像 apt-get 安装文件报错debconf: unable to initialize frontend: Dialog
- "Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
- How to run debug SQL with in front end(EBS)?
- front-end:map ,jump to some area
- [转]SCIM输入启动遭遇“Failed to load x11 FrontEnd module. ”错误
- Unable to:怎么解决Visual Studio错误“does not appear to have the FrontPage server extensions installed"
- SendToBack() 函数与BringToFront()函数
- How to use aws CloudFront for CDN
- 浅析点对点(End-to-End)的场景文字识别(图片文字)
- GNOME frontend for the rdesktop client
- 13.Serving Frontend Files