I need to write a program for my computer to run at startup, and its doing fine. However, I need the program to hide(); when it starts up, so my friends don’t see it open up. I am currently using Microsoft Visual C++. I’ve tried placing the code in many places of my project, which includes:
- the
Form1(void)thingy, right belowInitializeComponent(); - inside the
void InitializeComponent(void)thingy - inside the
#pragma endregionthingy
BUT TO NO AVAIL!!!
Can anyone please tell me where to put the start-up code? I basically just tried putting
hide();
andHWND findwindowor whatever it is :/
…into my code.
I would appreciate any help available. I am also willing to take examples and substitutions for my code. Thanks!
OK everyone, I know what I have to do. I Googled this for days and finally… I just have to put the line on the
Loadthingy on the properties window. That’s it! So simple but I missed it…Thanks, though!