0

I am creating a TextBox control subclass using Windows Forms. I am using the WM_NCCALCSIZE to change the client area (to enlarge the non-client area) but I have not found any solution on how to make the non-client area transparent. Is there any simple way to paint to non-client area in WM_NCPAINT in transparent way to duplicate the underlying window's background in intersecting region of the child control?

Martin Macak
  • 3,507
  • 2
  • 30
  • 54
  • I presume you are targeting C/C++ ??? Try this [SO question](http://stackoverflow.com/questions/99623/how-to-draw-in-the-nonclient-area) – IAbstract Feb 12 '10 at 10:33