简体   繁体   English

使用不带任务栏的Windows Shell(文件浏览器)

[英]Using Windows Shell (File Explorer) without Taskbar

I'm currently trying to write an alternative piece of taskbar software (in Python) for better customisation, and one of the main stumbling blocks is disabling the taskbar. 我目前正在尝试编写另一种任务栏软件(使用Python)以更好地进行自定义,而其中一个主要的绊脚石就是禁用任务栏。 My app can sit over the taskbar perfectly well, but if the user presses the Windows Key or Ctrl+Esc, the Start menu pops up and the Windows taskbar comes to the front. 我的应用程序可以很好地放在任务栏上,但是如果用户按下Windows键或Ctrl + Esc,则会弹出“开始”菜单,并且Windows任务栏位于最前面。 Since the taskbar is controlled by explorer.exe I have looked up disabling Explorer, and found this solution to edit a registry key and change the Windows Shell, thus effectively disabling Explorer. 由于任务栏是由explorer.exe控制的,因此我查找了禁用Explorer的方法,并找到了解决方案来编辑​​注册表项并更改Windows Shell,从而有效地禁用了Explorer。 The issue with this is, unsurprisingly, Windows Explorer (The file explorer) is also disabled. 毫无疑问,此问题是Windows资源管理器(文件资源管理器)也被禁用。 Now I could also try to make a custom Explorer, but I would ideally like a way to have File Explorer running without the Taskbar. 现在,我也可以尝试制作一个自定义资源管理器,但是理想情况下,我希望有一种无需任务栏即可运行文件资源管理器的方法。

Tl;dr: I need to not have the Taskbar open by killing the Windows Explorer process, but also need the File Explorer. Tl; dr:我不需要通过杀死Windows资源管理器进程来打开任务栏,但也需要文件资源管理器。

I don't think that's possible. 我认为那是不可能的。

I happen to be having Windows 2000's source code. 我碰巧有Windows 2000的源代码。 I just took a peek look at the explorer folder. 我只是看了一眼看看explorer文件夹。

tray.c -> Responsible for handling icons and system tray behavior. tray.c >负责处理图标和系统托盘行为。

task.c -> Responsible for handling task bar functionality and behavior. task.c >负责处理任务栏的功能和行为。

startmenu.cpp -> Responsible for start menu functionality and behavior. startmenu.cpp >负责开始菜单的功能和行为。

I'm definitely sure this hasn't changed much and that the taskbar is controlled by the explorer process. 我可以肯定这没有太大变化,并且任务栏是由explorer进程控制的。

Therefore what you are trying to achieve is not possible I believe. 因此,我认为您不可能达到的目标。

EDIT : The files that I mentioned above were leaked online long ago and I happen to be having a copy just for my study purposes and in no way I endorse/encourage such leaks. 编辑 :我上面提到的文件很久以前就已经在网上泄露,而我碰巧只是出于研究目的而拥有一份副本,而我绝不认可/鼓励这种泄露。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM