![]() You would need to google for windows hooks ( SetWindowsHookEx, CallWndProc), window message processing (in case that's new to you) and window subclassing ( SetWindowLong, GWL_WNDPROC, CallWindowProc). However I don't have the time right now to build this tool myself, but I can give hints: The only way I would know is building a tool which injects a DLL into explorer using a global WH_CALLWNDPROC hook in order to manipulate the menu on WM_INITMENUPOPUP to add the menu item and react on the WM_COMMAND message sent by the newly added menu item by opening Process Explorer. So we would need to effectively modify explorer.exe's logic, which is possible by loading our own code into it and intercepting the action of opening the popup so we can add the item, and then intercepting Windows' message that somebody clicked on our item so we can react on it. The thing is, this menu is (as far as I know) not defined by external parameters in the registry or something, it's just part of the logic inside explorer.exe. (Copied from comments as per TO's request): Any help is appreciated :)ĮDIT2:I know how to add custom items to the right click context menu, but I need to add it to the context menu on the taskbar, which I cannot find. I made a copy of the explorer.exe to dissect but I don't see anything really editable. I have been looking for any register values with Taskbar, task manger, lock the taskbar etc. Where can I find this in the registry? I've been searching but I cant find where this context menu is under the registry editor.ĮDIT: I am on Windows 8.1 pro, and know how to use Registry editor and know a little on resource hacker. I want to add a menu called Process Explorer underneath of task manager, where the red arrow is pointing. It has the option to replace the task manager but I want to keep both. Your system will work faster.I recently discovered process explorer ( ) and would like to add it to the context menu when you right click on the taskbar. Now you can close the Command Prompt and get back to your work. In the place of ProcessID you have to write the process ID which are you want to end.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |