Title:
Non-Rectangular-Window-Source-Code Download
Description: A small sample showing how to create a non-rectangular window.
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.
To Search:
File list (Check if you may need any files):
CountDown.cpp
CountDown.dsp
CountDown.dsw
CountDown.h
CountDown.rc
mainfrm.h
Release
res
resource.h
stdafx.cpp
stdafx.h
res\background.bmp
...\CountDown.ico
...\toolbar.bmp
atlgdix.h