*Unless you are writing a modal dialog window or an embedded window
It is not for a person's software to decide how it is used. UI experts will tell you, frankly, that programs that endeavor to take control away from the user get uninstalled pretty quickly. (The only exceptions are those programs that users feel are important enough to "put-up with" -- at least until a replacement can be found.)