I need to write a program that will add an entry and some functionality to the menu that pops when you right-click on the title bar of any window in Windows. The menu that contains the Restore, Move, Size, Minimize, etc.
What API do I need to investigate to do this in Windows? Would this type of extension be a Shell Extension or is it something else? Anyone know of an example anywhere? I'm sure it can't be that hard, but I'm having trouble locating any leads. Thanks in advance.
Windows doesn't let you change the title bar menu, but you may be able to do that if you create a new shell for Windows. I would not recommend that though.
Smartweb wrote:Windows doesn't let you change the title bar menu, but you may be able to do that if you create a new shell for Windows. I would not recommend that though.
When you say create a new shell, do you mean like a write a new window manager? Or shell as in the Windows Shell?
The program I want to write is basically an extra entry on the context menu of the title bar that centers the window. Have any other suggestions? Another thing I could do is create a program that can be launched using a hotkey that centers the window in focus. Yeah, that might work.