Painting the borders of a custom control using WM_NCPAINT

added by DotNetKicks
3/8/2022 5:44:04 PM

181 Views

Over the years I've created a number of controls that require borders. Sometimes, I'll draw the borders manually as part of the normal user paint sequence. Other times I'll apply the WS_EX_CLIENTEDGE or WS_BORDER styles and let Windows handle it for me.


0 comments