Tutorial 2's code is now complete. It covers:
In other words, "It are spinny pretty colour triangle with button that make go fullscreen". Some "nice" things about it:
And, in doing the last point, I found a bug in the last tutorial; it creates a client area that's 640x480 - which is fine, but then passes the window size to the function that sets up the backbuffer, resulting in a backbuffer that's bigger than the client area; which is the whole point in using AdjustWindowRect [embarass]
I get to escape work at lunch time tomorrow, which is nice. I'll hopefully be writing the article for this code soon - probably not tomorrow, but hopefully by the 27th or so, and I'll fix the bug mentioned above at the same time. I'll let you all look at my mistake and laugh at me for now [smile]
Bed for I...