You need to include the string.h header
file to use the strlen function.
TDrawWindow's base class, TWindow, provides three different
invalidation functions. Two of these, InvalidateRect and InvalidateRgn, look and function
much like their Windows API versions, but omitting the HWND parameters. The third
function, Invalidate, invalidates the entire client area of the window. Invalidate takes a
single parameter, a bool indicating whether the invalid area should be erased when it's
updated. By default, this parameter is true.