I'm using a Windows application in Crossover in which I've found it most convenient to assign my Mac keyboard's Command key – which gets translated into the Alt key when running this Windows application in Crossover – plus the function keys F1-F12. If I hit Alt-F4, the application quits. This is normal Windows behavior. I'd like to be able to use Alt-F4 as a keybind in this application but to do so the normal Windows Alt-F4 behavior of immediately quitting out of the application needs to be disabled.
I know I can use System Preferences to assign my keyboard's Command key to generate a different modifier keypress. I also know that I can use a different keybind in my application other than Alt-Whatever. I am currently doing the latter and it's a tolerable workaround. However, I would prefer to use my keyboard Command key without having to assign it a different keypress before using this app (and then setting it back to its default when done using this app) and would like to use the keybinds I prefer of Alt-F1 through Alt-F12 rather than Shift-F1 through Shift-F12 which is what I am using now in order to avoid this problem.
Is it possible to disable the normal Windows Alt-F4 behavior of immediately quitting out of the application so that Alt-F4 can be bound to a function within this Windows application?
I received a reply from Codeweavers technical support. The reply did not directly address my question but did offer workarounds – workarounds I was already using. There does not seem to be a way to disable the usual Windows behavior of Alt-F4 causing an immediate shutdown of the focus application and therefore such a keybind within a Windows application must be avoided.
Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.
CrossOver Forums: the place to discuss running Windows applications on Mac and Linux
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.