Windows provides an API called SetWindowRgn() that makes it easy for applications to
create irregularly shaped windows.
Then you need to catch the
WM_NCHITTEST,
WM_NCACTIVATE and
WM_NCPAINT
Windows messages to paint your
own window background and control the mouse clicks.
Source Code Dependencies
Microsoft WTL 3.0 LibraryDownload Files
![]() | Source Code (41 Kb) |

