Why would you want to prevent that? It's best not to try to control how people use their computer. Let people make their own choices.
On press of h we are doing some operations (which is a keyboard shortcut for one of our applications) and it's working fine in all operating systems except Mac. In Mac window is getting minimized doing so. I need a solution for this problem.