소스 검색

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

80374374 1 년 전
부모
커밋
41a2c7dc79
1개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 5
      Tool/VTMLauncher/VTM_IL.cpp

+ 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);