Ok, first off want to point out that I am VERY new to windows programming. I'm slowly working my way through Petzolds book(only on chapter 3) and came across a question that I haven't seen him answer yet.

I'm confused by what registering your window means after you create your window class. The reason why I am confused is because when you actualy create the window, you don't reference the window class you created at all, yet it contains the parameters you set for the window class. Does registering make it so all windows created will be of that window class type? What if I wanted to create two windows of two different class types? Hope this makes sense, if not I'll try and explain it better.