Simplified the code a bit.
Added a count variable to the table structure.
Fixed a potential bug in the WM_SETFONT handling.
Optimized Table redraw and fixed redraw-on-resize.
Set the DC viewport properly for the purposes of scrolling.
Worked on vertical scrolilng. Not done.
Scrolling mostly works now...
Fixed the last of the redrawing issues.