VirtualBox Multiple Monitor Window Program
This is a very simple program to quickly display all the windows of a VM. This is especially useful when the VM is assigned multiple virtual monitors that may be dispathed on your own physical monitors.
Program is available in release.
Open a command prompt (cmd.exe) and look the help.
ShowVM.exe help
Display a list of VM windows currently running. This program is limited to "Oracle VM VirtualBox" windows.
ShowVM.exe list
Please find some examples below.
Display the VM "MyUbuntu" with maximized windows, setting windows foreground. The command output verbose information.
ShowVM.exe show --name MyUbuntu -v -d SW_SHOWMAXIMIZED -f
Display the virtual monitor 1 of VM "MyUbuntu" as maximized window and foreground. The command output verbose information.
ShowVM.exe show --name MyUbuntu -v -d SW_SHOWMAXIMIZED -m 1 -f
Get ShowVM in release folder and copy them on any directory. Copy as well sample files:
Edit the shortcut Show (properties of the file) and set full path to file Show.cmd. Once done, you can pin the shortcut to the taskbar. The shortcut is defined to run as "minimized" so that you don't see output.
C:\Windows\System32\cmd.exe /c "C:\...\...\Show.cmd"
Edit the Show.cmd file with any text editor and personalize to display your VM windows as you like.
- Reorder VM window icons in the taskbar to match the order of the physical monitor
Example: Physical Monitor Layout:
- 2 (left)
- 1 (right)
Virtual VM Monitor Layout:
- Virtual 2 bound to Physical 2
- Virtual 1 bound to Physical 1
Icons in the taskbar are displayed as Virtual 1 (icon on left) and Virtual 2 (icon on right). I would prefer reordering them to have Virtual 2 and Virtual 1 so that icons match the layout of the physical monitor.
Or even remove VM icons from the taskbar to keep only ShowVM :)
This should probably require following APIs:
Information found on MSDN.