(May-02-2017, 07:49 PM)Luke_Drillbrain Wrote: However, it was exactly as it was when running from Pycharm. The main menu came up and the message box was in the background until I found it in the task bar and clicked on it.You wouldn't really start a program and open up repetitive dialogs without something to initiate it, like a button. The program does what you ask it to do. It opens up root, then showinfo, then askquestion.
messagebox is for quick popups, if you want to customize thigns like window position, it would be easier to make your own dialogs as a Toplevel instead.
Try adding this code after you create root
root.attributes("-topmost", True)
Recommended Tutorials: