You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2025. It is now read-only.
Added the Kill VM option from issue #26
Added additional tooltips to controls from issue #27
Added the option to close all running VM before quiting from issue #28
Improved the code for detecting running instances of Manager from issue #32
Various minor UI and code adjustments
DialogResultresult=MessageBox.Show("At least one instance of 86box is already running. It's not recommended that you run 86Box.exe directly outside of Manager. Do you want to continue at your own risk?","Warning",MessageBoxButtons.YesNo,MessageBoxIcon.Warning);
MessageBox.Show("86Box Manager is already running. You can only run one instance at a time.\n\nIf you tried to run a virtual machine from a shortcut, you may use the open Manager window instead.","Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
103
+
//Find the window of the first instance and restore it
104
+
IntPtr hWnd = FindWindow(null, "86Box Manager");
105
+
ShowWindow(hWnd, ShowWindowEnum.Show);
106
+
ShowWindow(hWnd, ShowWindowEnum.Restore);
107
+
SetForegroundWindow(hWnd);
108
+
109
+
//If the second instance was started with the -S command line argument for starting a VM, we must send
MessageBox.Show("An error has occurred. Please provide the following information to the developer:\n"+ex.Message+"\n"+ex.StackTrace,"Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
0 commit comments