BlitzSys.dll can be downloaded somewhere, it includes a lot of examples, one of them shows how to use individual Window masks - a window can have any shape (and thus allows to mask the title bar etc.)
http://www.melog.ch/dl/blitzsys_v105.zip
http://www.melog.ch/dl/blitzsys_v105.zip