RedrawWindow() приватный Метод

private RedrawWindow ( IntPtr hWnd, IntPtr rectUpdate, IntPtr hrgnUpdate, uint flags ) : bool
hWnd System.IntPtr
rectUpdate System.IntPtr
hrgnUpdate System.IntPtr
flags uint
Результат bool
Пример #1
0
 protected override void OnResize(EventArgs e)
 {
     base.OnResize(e);
     // Invalidate none client area
     HeaderPanelNativeMethods.RedrawWindow(this.Handle, IntPtr.Zero, IntPtr.Zero,
                                           0x0400 /*RDW_FRAME*/ | 0x0100 /*RDW_UPDATENOW*/ | 0x0001 /*RDW_INVALIDATE*/);
 }