Эх сурвалжийг харах

#IQRV #comment [WIN]UAT和生产环境才隐藏任务栏

80374374 1 жил өмнө
parent
commit
41a2c7dc79

+ 4 - 5
Tool/VTMLauncher/VTM_IL.cpp

@@ -317,12 +317,11 @@ VOID HideTaskBar(BOOL bHide)
 	}
 	if (hWnd != NULL) {
 		taskbar = hWnd;
-#if 0
 		//ShowWindow(hWnd, nCmdShow);
-		GetWindowRect(hWnd, &position);
-		FormatPosition();
-		HideTaskbarEx();
-#else
+		//GetWindowRect(hWnd, &position);
+		//FormatPosition();
+		//HideTaskbarEx();
+#if defined(DEVOPS_ON_PRD) || defined(DEVOPS_ON_UAT)
 		APPBARDATA apBar; 
 		memset(&apBar, 0, sizeof(apBar));
 		apBar.cbSize = sizeof(apBar);