Yeah i know, google is my best friend, but i could not find a tut.
Excuse me for not extracting Win32 API from Winmain
Name:
Anonymous2007-06-12 0:12 ID:u+UrCInE
There shouldn't be a window if you didn't create a window. Now delete all that code you wrote to create one.
Name:
Anonymous2007-06-12 2:37 ID:fVo+C/HS
The link I posted contains what you are looking for. You should be able to formulate a way to achieve your requirements if you have the correct English and code comprehension skills as well as the correct logical skills. If after reading that site and still you haven't been able to form a way to achieve your requirements, there is nothing that we can help you with in programming without babying you.
tl;dr gtfo n00b go lern some pro-graming logic
Name:
Anonymous2007-06-12 4:03 ID:1dGOovPg
Hints:
1. Don't use VC++, use GCC
2. Define a Windows applications with WinMain, not int main(), because that'll make the app run as a console thing and create a console if double clicked.