> Right-click system menu: I think it should work rather well: on any platform, > setting the context menu on the header works as expected (the FX menu > appears), and on Windows, when the app does not set the context menu, the > system menu appears as expected, unless the app sets its own (the first case).
I've implemented it as you suggested.