寡妇7自动排列缺点 [英] Widows 7 Auto Arrange Shortcoming

查看:128
本文介绍了寡妇7自动排列缺点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好:)

在Win 7上工作的那些人都知道,桌面是您可以根据需要排列图标的唯一位置.在所有其他文件夹中(在资源管理器中),图标总是按照某些条件排列,在Win XP术语中表示< Auto Arrange>.和<与网格对齐>始终处于启用状态,无法禁用它们.我进行了一些研究,发现了很多讨论此问题的论坛.他们说,MS故意删除了这些选项以及整个功能,这意味着没有代码可以记住图标的位置!即使有许多人没有这些功能也无法生存",并且他们非常恼火,但MS并没有计划将其退回!

Those of you who work on Win 7 know that the desktop is the only place you can arrange icons as you want. In all other folders (in the explorer) icons are always arranged by some criterion, in Win XP terms that means <Auto Arrange> and <Align to Grid> are always enabled and there is NO way to disable them. I did some research and found many forums that discuss this. They say that MS deliberately removed those option along with the entire functionality, which means that there is no code that remembers icons positions! And even though there are many many people who "can''t live" without those features and they are very annoyed that they are gone, MS do not plan to turn them back!!

好吧<与网格对齐>很好,我没问题,但是< Auto Arrange>非常让我烦恼!!!像我的电脑"这样的地方很少,我确实以某种方式排列图标.在Win 7的计算机"中,它们的排列方式有所不同,我无法按自己的意愿转动它们!!!

Well <Align to Grid> is fine, I have no problem with it, but <Auto Arrange> annoys me very much!!! there are few places like "My Computer" where I do arrange the icons by certain way. In Win 7''s "Computer" they are arranged differently and I can''t turn them my way!!!

我不想编写自己的应用程序,该应用程序跟踪我打开的所有文件夹,如果我拖动一个图标来更改其位置,要记住的位置,以及下一次我打开该文件夹以将其放置在屏幕上时,我会离开了.

I wnt to write my own application that keeps track all folders I open and if I drag an icon to change its position, that position to be remembered, and the next time I open that folder to sse that icon on the plase I left it.

特定问题:
-如何在Win 7中以编程方式设置图标位置?
-应用程序如何获得有关即将打开文件夹的通知?
-如何放置新菜单寡妇菜单项吗? (因为我想像Win XP一样做到)

Specific questions:
- How can I set icons positions programically in Win 7?
- How can an application get notification that a folder is about to be opened?
- How to put a new menu item it widows conext menu ? (''cause I want to make it just like Win XP)

提前谢谢!!! :)

推荐答案

我没有针对您问题的具体答案,但是我有一些建议:
I don''t have specific answers to your questions, but I do have some suggestions:
  1. 与其在"Win 7"中设置图标位置(我假设您的意思是Windows 7中的资源管理器实用程序),不如找出一种在应用程序中执行此操作的方法.也就是说,创建具有某种列表或网格的应用程序,并让应用程序维护位置,然后将其显示出来.不需要与Windows资源管理器进行交互.
  2. 您不必添加打开文件夹的通知,而只需添加显示使用MyExplorer打开"或类似内容的上下文菜单项即可?一种替代方法是用您自己的EXE(检测是否正在打开文件夹)替换explorer.exe(不确定在Windows 7中是否称为"explorer.exe").如果是的话,它将随您的工具一起打开.如果不是,则将调用转发到真实的explorer.exe(确保保留传入的原始参数).但是,这可能会很棘手..不确定Windows是否会让您惹上Explorer.也许会有一种方法可以设置打开文件夹的默认应用程序(例如,有一种方法可以设置打开给定文件类型的默认应用程序).也许有一个注册表项.或者,也许有一个注册表项用于explorer.exe的位置(您可以搜索注册表以引用该文件,也可以进行一些谷歌搜索以查看所找到的内容).如果不是,则可能是一个Win32事件,您可以挂接到该事件以通知该事件.
  3. 不确定如何将菜单项添加到上下文菜单.但这是以前做过的,可能在CP或其他地方有一篇描述它的文章.再一次,尝试一些Google搜索(和CodeProject搜索).


这篇关于寡妇7自动排列缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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