Is there a way to disable / grey out the `maximize`, `minimize` button on a window, for Windows OS?

For mac os it can be made by methods of NSWindow using native extension

2 Likes