All your answers are here: http://msdn2.microsoft.com/library/
But only if you have the base knowledge.
Printable View
All your answers are here: http://msdn2.microsoft.com/library/
But only if you have the base knowledge.
Quote:
also, where would i change the background?(color) thanks in advance.
You might want to start by reading the notes in the code?
Quote:
/* Use Windows's default color as the background of the window */
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;
how do i change that? just put in 0xffffff00?
"wincl.hbrBackground = (HBRUSH) 0xffffff00;
Search for brushes and how they work.
brushes? dunno where or how or what exactly to search.
The very first Google result when searching for "hbrush" is the page of Forger's Win32 tutorial that explains what brushes are and how to use them.
Since you are apparently unwilling to do even the slightest bit of research without having your hand held, we have decided to close this thread and not re-open it.
I'm going to say it one last time: learn the core language first. Get a good book (see the recommendations thread). When you know the language, then learn Win32 programming if that's what interests you.