Associated article: Creating Shaped UI Objects
Published source code accompanying Steve Sipes article in which he presents CShape, a C++ class that lets you create and manage custom windows, custom controls, and shaped dialog boxes. He then uses the class to build sticky-note and stellar calculator user interfaces. Also see SHAPEWND.ASC.
Creating Shaped UI Objects by Steve Sipe Example 1: (a) // (NOTE: m_rgnWnd must be a data member, not on the stack because Windows // continues to use the region handle as long as the window object // associated with it exists) CRgn ...