AlexanderPro / SmartSystemMenu

SmartSystemMenu extends system menu of all windows in the system
MIT License
2.03k stars 110 forks source link

[Request] Disable close button #99

Closed mafrailea closed 1 year ago

mafrailea commented 1 year ago

Hi,

You application is really great, but I'm missing an option to remove the close button for specific application.

It would be really useful to avoid closing certain windows that you don't want to close, and I think it's something that you can really do programming-wise.

Maybe allowing to disable the other buttons (minimize and maximize) could be possible as well, but not something that I'm going to use for now.

Best regards, Miguel

AlexanderPro commented 1 year ago

Hi mafrailea,

Would you like a window to be closed by Alt+F4 at the same time?

mafrailea commented 1 year ago

Hi @AlexanderPro,

Well, I would prefer that Alt+F4 doesn't close the window, neither.

The idea is that, if you want to close that window, you need to re-enable the close button through your system menu.

Thanks a lot for taking this request into account. :)

AlexanderPro commented 1 year ago

Ok, I will add this feature soon.

AlexanderPro commented 1 year ago

mafrailea, Please, try version 2.22.0. Unfortunately, I have not been able to suppress "Alt+F4" keys for "Close" button.

mafrailea commented 1 year ago

mafrailea, Please, try version 2.22.0. Unfortunately, I have not been able to suppress "Alt+F4" keys for "Close" button.

No worries, I tested it and works great!

Thanks a lot!!