Repentinus
2007-10-11 11:05:19
Hello.
I'm writing a program in C++, but I can't figure out how the hell I should hide the application window from the user. I tried to Google it, but I am not good Googler, so someone could help me :)
Repentinus
R0b0t1
2007-10-11 17:08:43
Start with this:
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <iostream>
int main()
{
HWND hWnd = GetConsoleWindow();
ShowWindow( hWnd, SW_HIDE );
return 0;
}
And once you've understood that, look at this source:
http://www.codeproject.com/tools/hideit.aspEDIT: Hey! Wait! Why are you trying to hide it from the user…?
Repentinus
2007-10-13 15:50:27
Why I am trying to hide it for user? Because i want to know what my family has done with computer and that program should tell me some stuff what they have done in computer and they shouldn't know that I'll "keep my eye on 'em."
Thanks anyway.
R0b0t1
2007-10-13 20:04:58
I think thats a pretty lame excuse for asking for instructions for a keylogger.
Repentinus
2007-10-14 07:25:56
It would be pretty lame excuse, but why I should need keylogger? I don't like illegal activities and if I want keylogger then I could download it, I just want program something what is interesting and useful to me.