Disable minimize window [Windows logo key + D] or + M for a single program only

What would a creator of a media player need to do to disable
Windows logo key + D
or
Windows logo key + M
or
the Windows Show Desktop shortcut


That way, if the media player is being used on a second monitor, it will never get minimized, it will always keep playing on the second monitor without being minimized.

In other words, other windows would get minimized by
Windows logo key + D
or
Windows logo key + M
or
the Windows Show Desktop shortcut
but not the media player.
Last edited on
closed account (E0p9LyTq)
You respond to WM_SYSCOMMAND messages and handle SC_MINIMIZE system commands.
Topic archived. No new replies allowed.