It does not matter what you call from a main menu(APP, etc.), the minimize button MUST be enabled=false.

Does anyone know an API? or how?