How to handle WM_NCPAINT event in C#?

  • Thread starter Thread starter Amar Ingole
  • Start date Start date
A

Amar Ingole

Hi All,

I need to draw on Non client area for that i need to handle WM_NCPAINT
event.

Please help me and send demo code if possible.

thanx

Amar
 
Amar Ingole said:
I need to draw on Non client area for that i need to handle WM_NCPAINT
event.

\\\
protected override void WndProc(ref Message msg)
{
base.WndProc(ref msg);
const int WM_NCPAINT = 0x85;
if (msg.Msg == WM_NCPAINT)
;
}
///
 
Back
Top