Thank you! I tried things from all of these but it doesn't seem to be helping sadly
Here's the code I'm using:
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace DeviceApplication2
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[DllImport
("coredll.dll", EntryPoint = "FindWindowW"
]
private static extern IntPtr FindWindowCE
(string lpClassName, string lpWindowName
);
[DllImport
("coredll.dll", SetLastError = true
)]
///[DllImport
("user32.dll", SetLastError = true
)]
[return: MarshalAs
(UnmanagedType.Bool
)]
public static extern bool SetWindowPos
(IntPtr hWnd, int hWndInsertAfter, int x, int y, int cx, int cy, uint uFlags
);
public const int SWP_SHOWWINDOW = 0x0040;
[DllImport
("coredll.dll", SetLastError = true
)]
static extern bool ShowWindow
(IntPtr hWnd, int nCmdShow
);
[DllImport
("coredll.dll", SetLastError = true
)]
static extern bool SetForegroundWindow
(IntPtr hWnd
);
[MTAThread]
static void Main
(
)
{
IntPtr handle;
handle = FindWindowCE
("HHTaskBar", null
);
ShowWindow
(handle, 9
);
SetWindowPos
(handle, -1, 0, 550, 720, 26, SWP_SHOWWINDOW
);
SetForegroundWindow
(handle
);
}
}
}
Could I be forgetting something that actually makes the task bar interactable? Please help