Hey all!

I just started a new project, and I came across a problem. I think the title explains it all. All I want to do is create a window at the moment, with the standard code everyone uses from www.winprog.org. Anyways, I tried to change the WS to WS_OVERLAPPEDWINDOW, but an error message came up saying that the window could not be created. So I split OVERLAPPEDWINDOW up into WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, and WS_MINIMIZEBOX, to see which one was causing the problem. It works fine without WS_CAPTION, in that no error messages came up, but I was very annoyed when I couldn't see the window. Ideally, (sp?) I need to get this problem fixed, or another WS that has the same effect on the window as CAPTION.

Any one know what's wrong?

Cheers for any help provided.
Necrofear