All your answers are here: http://msdn2.microsoft.com/library/
But only if you have the base knowledge.
All your answers are here: http://msdn2.microsoft.com/library/
But only if you have the base knowledge.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
also, where would i change the background?(color) thanks in advance.
You might want to start by reading the notes in the code?
/* Use Windows's default color as the background of the window */
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;
"Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
-- Cowper
Operating Systems=Slackware Linux 9.1,Windows 98/Xp
Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)
You may teach a person from now until doom's day, but that person will only know what he learns himself.
Now I know what doesn't work.
A problem is understood by solving it, not by pondering it.
For a bit of humor check out xkcd web comic http://xkcd.com/235/
how do i change that? just put in 0xffffff00?
"wincl.hbrBackground = (HBRUSH) 0xffffff00;
Last edited by Chessman.exe; 08-23-2007 at 06:22 PM.
Search for brushes and how they work.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
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.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law