I have a labview application that runs on a cRIO that I'm trying to remove the ability of unauthorized persons to touch things they shouldn't. I have been able to lock down buttons, the file menu, close button, and hide the panel but the one thing I cannot do it stop the application from being minimized. I have tried in the VI properties as well as disabling in the code and even trying to catch a resize event and set the panel back to standard but nothing seems to work. It's kind of important to disable this since I also hide the panel so there's no way to bring it back without a reboot.
Here are my VI properties:

And here are the 2 ways I'm trying to handle it programmatically:

What am I missing?