ZForge.Controls.HeaderPanelNativeMethods.RedrawWindow C# (CSharp) Method

RedrawWindow() private method

private RedrawWindow ( IntPtr hWnd, IntPtr rectUpdate, IntPtr hrgnUpdate, uint flags ) : bool
hWnd System.IntPtr
rectUpdate System.IntPtr
hrgnUpdate System.IntPtr
flags uint
return bool
        public static extern bool RedrawWindow(IntPtr hWnd, IntPtr rectUpdate, IntPtr hrgnUpdate, uint flags);

Usage Example

Beispiel #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*/);
 }