使用可编辑属性创建应用程序 [英] Create an application with a editable property

查看:60
本文介绍了使用可编辑属性创建应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些关于如何创建在Windows属性对话框中具有可以编辑的属性的应用程序的示例。基本上我想创建一个类似于快捷方式的应用程序,但它可以使用相对路径。我在Windows属性对话框中的含义是右键单击Windows资源管理器中的文件并在底部选择右键菜单项属性时出现的窗口。



在这种情况下,我要做的是创建一个新版本的ShortCut只有这个将接受相对路径。我可以使用包含目标相对路径的批处理文件执行类似操作,但在使用批处理文件打开文件期间,命令窗口将打开。基本上有一些包含文件的文件夹,以及具有不同名称的同一文件的别名,以便可以打开具有不同名称的同一文件(在本例中为视频文件)。



给一个明星的人告诉我至少回答这个问题我是多么愚蠢。如果这是一个愚蠢的问题然后证明它。



一个选项可能是让应用程序将一个上下文菜单项添加到资源管理器上下文窗口中,这将显示一个允许用户输入路径的表单。到目前为止,似乎没有人知道如何将属性添加到当前文件属性窗口。



我尝试过:



在互联网上进行了大量搜索但收效甚微。

I am looking for some sort of sample on how to create an application that has a property in the Windows Property dialog that can be edited. Basically I wanted to create an application that will be like a shortcut, but it can use relative paths. what I mean by windows property dialog is the window that appears when you right click a file in windows explorer and select the right click menu item "Properties" at the bottom.

In this case what I am trying to do is create a new version of the ShortCut only this one will accept relative paths. I could do something similar with a batch file that contains the relative path to the target but then the command window is open during the time that the file is open using the batch file. Basically have some folders that contain files, and alias to the same file with a different name so that can open the same file (in this case a video file) that has a different name.

The person who gave one star show me how stupid I am by at least answering the question. If it is a stupid question then prove it.

An option may be to have the application add a context menu item the to the explorer context window that will bring up a form that allows the user to enter a path. So far no one seems to know how to add a property to the current file properties window.

What I have tried:

Done a lot of searching on the internet with little success.

推荐答案

参见窗口浏览器上下文菜单 - Google搜索 [ ^ ]。


这篇关于使用可编辑属性创建应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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