How to put windows form into stealth mode?

Does anyone know how to put such application http://imgur.com/DnADL1L into the hidden mode as console application using
1
2
3
4
HWND stealth;
   AllocConsole();
   stealth=FindWindowA("ConsoleWindowClass",NULL);
   ShowWindow(stealth,0);

Last edited on
To hide the Window you can call Hide().

To minimize the Window to the taskbar set WindowState = FormWindowState::Minimized;
Thanks for reply, I'm noob at this and it doesn't work http://imgur.com/SVHrEYu . Where I have to put Hide() to make it work?
Well it depends what you want to do. You can call it on the FormLoad event or on a button click event or in the constructor. However I would recommen that you learn the basics first.

https://www.youtube.com/watch?v=YR6fxe1wa8g&list=PLS1QulWo1RIZz6uDid--I09EOImRmPHS0
https://www.youtube.com/watch?v=L8E4C0zbIHA&list=PLnJLjmjfLgadq7RJ-jfFv2V_GKKV1mJPD
Haha, I was watching exactly this video in your first link while making such application. Anyway, thanx for the links. I'm pretty straightfoward at this and I'm not planning to learn everything, I just need to make the application which boots silently (it means noticable only in task manager) and launches a few programs at once precisely in windows form (to avoid another conhost
.exe proccess in task manager at the time) if it's possible.
Last edited on
Topic archived. No new replies allowed.