Problem:
I am looking for a way to prevent snippingtool when using Solution program.
TRY :
ONE : I tried to prevent it by inserting "ScreenWings.exe" into the solution, but I can't use it normally due to program handling issues.
TWO : I used the "SetWindowDisplayAffinity" library but that didn't apply either. (C# Library)
IntPtr prHandle;
const uint WDA_NONE = 0;
const uint WDA_MONITOR = 1;
Process[] process = Process.GetProcesses();
foreach (Process aProc in process)
{
if(aProc.ProcessName.ToString() == "remote-viewer")
{
aProc.Id.ToString();
prHandle = aProc.MainWindowHandle;
SetWindowDisplayAffinity(prHandle, WDA_MONITOR);
}
}
I would be grateful if you could suggest freeware or a solution that has a command line (API) to prevent snippingtool.