Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

hide external app from taskbar

private const int SW_HIDE = 0x00;
private const int SW_SHOW = 0x05;
private const int WS_EX_APPWINDOW = 0x40000;
private const int GWL_EXSTYLE = -0x14;
private const int WS_EX_TOOLWINDOW = 0x0080;

  private static void HideAppinTaskBar()
  {
  var Handle = FindWindowByCaption(IntPtr.Zero, "Untitled - Notepad");
  ShowWindow(Handle, SW_HIDE);
  SetWindowLong(Handle, GWL_EXSTYLE, GetWindowLong(Handle, GWL_EXSTYLE) |     WS_EX_TOOLWINDOW);
  ShowWindow(Handle, SW_SHOW);
  }
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# WriteLine() 
Csharp :: elasticsearch nested aggregation in c# 
Csharp :: c# catch two exceptions in one block 
Csharp :: oauth API with the Access Token to retrieve some of users information. 
Csharp :: how to set a color of text in unity 2020 script 
Csharp :: c# interface property 
Csharp :: how to make a cast in c# 
Csharp :: how to stop a coroutine unity c# 
Csharp :: ex: c# last item in array 
Csharp :: restrictions 
Csharp :: loop in c# 
Csharp :: assert throw 
Csharp :: c# list empty 
Csharp :: entity 
Csharp :: string vs string c# 
Csharp :: unity image button 
Csharp :: unity get quaternion z 
Csharp :: .net 3.1 bind json config 
Csharp :: unity hexmapping 
Csharp :: Unity Scene Load by BuildIndex 
Csharp :: c# delay 1 second 
Csharp :: Camera follow player script unity 
Csharp :: how to input message ox in c# 
Csharp :: Toggle value change 
Csharp :: How to create a gameobject by code 
Csharp :: upload file add more size webconfig in asp.net mvc 
Csharp :: c# show existing form 
Csharp :: iqkeyboardmanagerswift 
Csharp :: unity phone vibration 
Csharp :: skrivetækning 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =