Well, enjoy having more posts while you can, because I'll wise crack my way up to overlord in no time.
Until then, here is what I was working on a few years back, in SDL. When Rob switched to GL, it screwed my perfectly good working bugless system up. What you'll notice, should you decide to try it, is the "File" tag is misaligned, and when you drag the window, it prints the f all over the screen. That never happened in the SDL version, same code.
In mine you can drag the window, minimize it to the task bar, restore it, maximize it, drag resize it from the top, sides, bottom, or corners, and drag the vertical and horizontal scroll bars.
If anyone knows why the SDL and GL versions display differently, please let me know.
I'd post the code but this POS forum can't handle it, so I uploaded it as an attachment. Come on guys, even N54 can take code files this big. No wonder there are no smilies around here :(
Pete