Ok I'm really new to the Windows API and making a program using windows only and not dos at all. Is there a way to get rid of the dos window from ALSO showing up when I compile/run the .exe? In otherwords, I just want to see a window not window+dos. Thnx, any help would be appriciated =)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Go into compiler options-> linker tab -> do not create console window. If this is a project, then go project options -> General -> Win32 GUI. L8tr bud,
Kip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-10-04
but in win32 application there is no main() function
only processes u call with event on i/o or objects
ex:
on WM_DESTROY u call PostQuitMessage();
or
WM_MOUSEMOVE
WM_LBUTTONDOWN
WM_LBUTTONUP can be used to get the mouse events on the window ... : )
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok I'm really new to the Windows API and making a program using windows only and not dos at all. Is there a way to get rid of the dos window from ALSO showing up when I compile/run the .exe? In otherwords, I just want to see a window not window+dos. Thnx, any help would be appriciated =)
Hey man,
Go into compiler options-> linker tab -> do not create console window. If this is a project, then go project options -> General -> Win32 GUI. L8tr bud,
Kip
but in win32 application there is no main() function
only processes u call with event on i/o or objects
ex:
on WM_DESTROY u call PostQuitMessage();
or
WM_MOUSEMOVE
WM_LBUTTONDOWN
WM_LBUTTONUP can be used to get the mouse events on the window ... : )
Create a Win32 project and discover to woderful world of the WinMan function.
if no help search on the http://msdn.microsoft.com/
u got the free VC++ oline documentation (but it's hard to find things u want, cause their Search motor is bad)
http://www.bloodshed.net/dev/doc/index.html
there are may things !
or programmersheaven.com