e using
WindowLess UserControls in VB6 using the <span class="code">MaskPicture</span>
property, but that isn't ideal.  A simple to use alternative is to use the
<span class="code">SetWindowsRgn</span> to modify the shape of a Window, as
described in the <a href="http://www.vbaccelerator.com/article.asp?id=2768">Geometric Windows Shapes</a>
article.
</p><p>
To make the control work like the one in Office XP, the Window's shape should
have two disconnected regions; one region being a single-pixel wide border