상속: MonoBehaviour
 public LockWindowRedraw(IWin32Window window, bool invalidate)
 {
     Control control = window as Control;
     if ((control == null) || control.IsHandleCreated)
     {
         this.WindowHandle = window.Handle;
         Windows.SendMessage(this.WindowHandle, 11, IntPtr.Zero, IntPtr.Zero);
     }
     if (invalidate)
     {
         this.InvalidateFlags = RDW.RDW_ALLCHILDREN | RDW.RDW_NOERASE | RDW.RDW_INVALIDATE;
     }
 }
예제 #2
0
 public static extern bool RedrawWindow(HWND hwnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, RDW flags);
예제 #3
0
 private static extern bool RedrawWindow(IntPtr hWnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, RDW flags);
예제 #4
0
 private static extern bool RedrawWindow(IntPtr hWnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, RDW flags);
예제 #5
0
 public static extern int RedrawWindow(IntPtr hWnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, RDW flags);
 public static extern bool RedrawWindow(HWND hwnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, RDW flags);
예제 #7
0
 public static extern bool RedrawWindow(IntPtr hWnd, ref Rectangle lprcUpdate, IntPtr hrgnUpdate, RDW flags);
 public unsafe static extern BOOL RedrawWindow(IntPtr hWnd, RECT *lprcUpdate, IntPtr hrgnUpdate, RDW flags);
        public unsafe static BOOL RedrawWindow(HandleRef hWnd, RECT *lprcUpdate, HandleRef hrgnUpdate, RDW flags)
        {
            BOOL result = RedrawWindow(hWnd.Handle, lprcUpdate, hrgnUpdate.Handle, flags);

            GC.KeepAlive(hWnd.Wrapper);
            GC.KeepAlive(hrgnUpdate.Wrapper);
            return(result);
        }
예제 #10
0
        public unsafe static BOOL RedrawWindow(IHandle hWnd, RECT *lprcUpdate = default, Gdi32.HRGN hrgnUpdate = default, RDW flags = default)
        {
            BOOL result = RedrawWindow(hWnd.Handle, lprcUpdate, hrgnUpdate, flags);

            GC.KeepAlive(hWnd);
            return(result);
        }
예제 #11
0
 public static unsafe partial BOOL RedrawWindow(IntPtr hWnd, RECT *lprcUpdate = default, Gdi32.HRGN hrgnUpdate = default, RDW flags = default);
예제 #12
0
 public unsafe static BOOL RedrawWindow(HandleRef hWnd, RECT *lprcUpdate, Gdi32.HRGN hrgnUpdate, RDW flags)
 => RedrawWindow(hWnd, lprcUpdate, hrgnUpdate.Handle, flags);
예제 #13
0
 public static extern bool RedrawWindow(IntPtr handle, IntPtr lprcUpdate, IntPtr hrgnUpdate, RDW flags);
 internal static extern bool RedrawWindow(IntPtr hwnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, RDW flags);