Heh, silly me. I'm new at this...
But now there is another problem. The program creates a window, but it seems to be messed up. You can do anything to it. You can't move it, you can't close it, the title doesn't show up, nothing. its wierd...
Heh, silly me. I'm new at this...
But now there is another problem. The program creates a window, but it seems to be messed up. You can do anything to it. You can't move it, you can't close it, the title doesn't show up, nothing. its wierd...
The default action for your window procedure should be to call the system handler - DefWindowproc.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
So could somebody give me the correct code? (By fixing mine) because I can't figure it out...Everything i try makes more errors....
Any amount of information on the windows programming board has that kind of information.
But it seems to me that you need to get to work on the basics of programming before rushing to tackle win32 programming.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.