实施“适用于所有人". MFC应用程序中的kind选项. [英] Implementing "Apply to all" kind option in MFC application.

查看:61
本文介绍了实施“适用于所有人". MFC应用程序中的kind选项.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一些与文件和文件夹有关的功能,例如设置文件和文件夹的属性.

我必须在运行时做出一些决定,例如遇到隐藏文件等之后.我想请用户对文件做出决定,并且我必须对具有相同设置的文件其余部分应用相同的决定.

最好的方法是什么?

例如:
----------------
Visual Studio Source Safe将在获取最新版本时要求用户使用VSS版本覆盖本地文件,并提供应用于所有项目"选项.

预先感谢.

Hi,

I have some functionality to do with files and folders like setting properties of files and folders.

I have to take some decision at run time like after encountering hidden files etc. And i want to ask a user to take decision on the file, and i have to apply the same decision on rest of the file with same settings.

What is the best way to do this?

For example:
----------------
Visual Studio Source Safe will ask user while getting latest version to override local files with VSS version and provide an option to "Apply to all items".

Thanks in advance.

推荐答案

1.使用对话框询问用户决定.
2.根据该决定采取行动.

您的问题并不清楚,这是什么问题.
1. Use a dialog to ask the user for a decision.
2. Act on that decision.

Your question does not make it clear what the problem is with this.


这篇关于实施“适用于所有人". MFC应用程序中的kind选项.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆