title: C++ developing a GUI - classes?
body: <p>I do have to say I'm fairly inexperienced when it comes to C++, don't be too harsh on me.</p>
  
  <p>Recently stumbled unto the wonders of the win32 API and have chosen to practice using it (I'd rather not use MFC/wxWidgets/etc at this point, just for educational purposes).</p>
  
  <p>Well, my real question is:
  How do you properly code your win32 GUI stuff into classes. I mean, sure, you can make a class that saves individual window handles, allows for easier modification of window properties, has a more simplified version of CreateWindow(). But as I understand it you will need a messagepump and several callback functions for your created windows. How does that work when combining them with classes?</p>
  
  <p>Could anyone point me in the right direction here? I don't mind reading (a lot of) example code as long as it is commented.</p>
  
  <p>PS: I'm also having trouble finding good (read: easy) documentation on using 'resource files' for my window decorations. Bonuspoints for that! :)</p>