Notifying a message in Action center.
Révision | 5c89e8118e913499a2aaa20ea6cb82213b5df45d (tree) |
---|---|
l'heure | 2015-09-10 12:34:52 |
Auteur | JeffyTS <JeffyTS@outl...> |
Commiter | JeffyTS |
Some bug fixed
@@ -178,14 +178,14 @@ namespace VMwPlayerTaskTray | ||
178 | 178 | if (state == CtrlVix.Constants.VMSTATE.ERROR) return false; |
179 | 179 | System.Threading.Thread.Sleep(3000); |
180 | 180 | } |
181 | - if (mode == VMCTRL.GO_GUI) | |
181 | + if (mode == VMCTRL.GO_GUI && Program.moveWindow == true) // GO_GUIの時だけPlayer Windowを移動する | |
182 | 182 | { |
183 | 183 | /*** |
184 | 184 | while(CtrlVix.Constants. TOOLS_RUNNING.NOT_RUNNING == Vix.CheckToolsRunning(vmxFilePath)){ |
185 | 185 | System.Threading.Thread.Sleep(3000); |
186 | 186 | } |
187 | 187 | ***/ |
188 | - movePlayerWindow(); // Player Windowを移動する | |
188 | + movePlayerWindow(Program.moveWindow_left, Program.moveWindow_top); // Player Windowを移動する | |
189 | 189 | } |
190 | 190 | break; |
191 | 191 | case VMCTRL.GO_ACPI_RESET: |
@@ -497,7 +497,7 @@ namespace VMwPlayerTaskTray | ||
497 | 497 | MessageBox.Show(message, PROGRAM_NAME, MessageBoxButtons.OK, MessageBoxIcon.Information); |
498 | 498 | } |
499 | 499 | |
500 | - private bool movePlayerWindow() | |
500 | + private bool movePlayerWindow(int left, int top) | |
501 | 501 | { |
502 | 502 | CtrlVIX Vix = new CtrlVIX(); |
503 | 503 |
@@ -505,7 +505,7 @@ namespace VMwPlayerTaskTray | ||
505 | 505 | |
506 | 506 | if (pid != 0) |
507 | 507 | { |
508 | - if (move_window(pid, Program.moveWindow_left, Program.moveWindow_top)) // Windowを移動する | |
508 | + if (move_window(pid, left, top)) // Windowを移動する | |
509 | 509 | { |
510 | 510 | return true; |
511 | 511 | } |
@@ -48,7 +48,7 @@ Rlease & modify | ||
48 | 48 | VMware Workstation Player 12.0.0 and VMware VIX 1.15.0 |
49 | 49 | Visual Studio Community 2015 |
50 | 50 | Windows10 Professional 64bit. |
51 | - 2015/02/02 1.1.4 Add /pos option. | |
51 | + 2015/09/10 1.1.4 Add /pos option. | |
52 | 52 | |
53 | 53 | |
54 | 54 |