[译]WinDiff的更好前端
By robot-v1.0
本文链接 https://www.kyfws.com/applications/a-better-front-end-to-windiff-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 3 分钟阅读 - 1055 个词 阅读量 0[译]WinDiff的更好前端
原文地址:https://www.codeproject.com/Articles/779/A-better-front-end-to-WinDiff
原文作者:Chris Maunder
译文由本站 robot-v1.0 翻译
前言
A GUI front end to a handy utility
方便实用程序的GUI前端
介绍(Introduction)
如果您曾经使用过WinDiff,您将意识到它在选择文件和目录方面的不良用户界面.为此,我开发了一个简单的应用程序,它充当WinDiff的前端,并允许您拖放文件或目录,或者使用文件和目录选择器对话框浏览文件和目录.(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 simpleapplication that acts as a front end to WinDiff and allows you to drag and drop filesor directories, or browse for files and directories using the file and directory chooser dialogs.)
该程序还记住其最后的屏幕位置,上次比较的文件以及对话框是否已展开或收缩.该示例演示了可折叠的对话框,窗口位置持久性,还演示了Chris Losinger的出色表现(The program also remembers its last screen location, the files last comparedand the whether or not the dialog was expanded or contracted. The sample demonstratescollapsable dialogs, window position persistance, and also demonstrates a variationof Chris Losinger’s great) CDropEdit
类(在本例中为放置文件组合框).(class (in this case a drop-file combobox).)
新的功能(New features)
- Davide Calibro的扁平按钮已得到广泛使用,这要归功于(Extensive use has been made of Davide Calibro’s flat buttons, thanks to)丹尼尔`里昂斯(Daniel Lyons)他觉得我的原始UI有点无聊,因此进行了重大改版.谢谢丹尼尔!(who felt my original UI was a bit boring and gave it a major facelift. Thanks Daniel!)
- 组合接受接受的文件(以前使用的拖放编辑控件)并自动完成.它们存储最后输入的10个文件,并且每次添加文件时都会修改墨滴宽度,以便尽可能多地显示.(The combo’s accept dropped files (previously used drop edit controls) andare auto-completing. They store the last 10 files entered and the drop widthis modified each time a file is added in order to display as much as possible.)
- 目录选择器从上次访问的目录开始.(Directory pickers start from the last directory visited.)
- 我的ComboBoxEx类已重命名-希望这可以解决VC6编译问题.(My ComboBoxEx class has been renamed - hopefully this will fix the VC6 compilation problem.)
谢谢:(Thanks to:)
- 克里斯`洛辛格-投降(Chris Losinger - Drop Edit)
- Vladimir Kvashin,Girish Bharadwaj和Lars Klose-目录选择器类(Vladimir Kvashin, Girish Bharadwaj and Lars Klose - Directory picker class)
- Davide Calibro-平面按钮(Davide Calibro - Flat buttons)
- Daniel Lyons-UI工作和可折叠对话框的新方法.(Daniel Lyons - UI work and a new approach to collapsable dialogs.)
- Klaus-建议设置目录选择器的初始目录.不知道为什么我没有这样做!(Klaus - suggested setting the initial directory of the directory pickers. No idea why I didn’t do that in the first place!)
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
C++ VC6 Windows MFC Visual-Studio Dev 新闻 翻译