I´m using C#, I want to hide the console application but I want to show the icon in "hidden taskbar" (I don´t know if it is the correct name), something similar like Thunderbird, Team Viewer....
I´ve tried this:
[DllImport("kernel32.dll")]
static extern IntPtr GetConsoleWindow();
[DllImport("user32.dll")]
static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
const int SW_HIDE = 0;
const int SW_SHOWMINIMIZED = 2;
const int SW_SHOW = 5;
const int SW_MINIMIZE = 6;
private const string AppGuid = "c0a76b5a-12ab-45c5-b9d9-d693faa6e7b9";
// ==============================
// ==============================
var handle = GetConsoleWindow();
ShowWindow(handle, SW_HIDE);
But If I hide the console it is not shown in the "Hidden Task Bar". Is it posible to hide the console and show in the "Hidden Task Bar"?