Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "invalidaterect" in [All]

user32

.
Summary
The InvalidateRect API. From MSDN: The InvalidateRect function adds a rectangle to the specified window's update region. The update region represents the portion of the window's client area that must be redrawn.
.

static extern bool InvalidateRect(IntPtr hWnd, IntPtr lpRect, bool bErase);

.

Public Overloads Declare Function InvalidateRect Lib "User32" Alias "InvalidateRect" (ByVal hWnd As Int32, ByRef lpRect As RECT, ByVal bErase As Boolean) As Boolean

.

Public Overloads Declare Function InvalidateRect Lib "User32" Alias "InvalidateRect" (ByVal hWnd As Int32, ByVal lpRect As IntPtr, ByVal bErase As Boolean) As Boolean

.

Public Overloads Shared Function InvalidateRect(ByVal hWnd As Int32, ByVal bErase As Boolean) As Boolean

.

     Return InvalidateRect(hWnd, IntPtr.Zero, bErase)

.

Public Overloads Shared Function InvalidateRect(ByVal hWnd As Int32, ByVal lpRect As System.Drawing.Rectangle, ByVal bErase As Boolean) As Boolean

.

     Return InvalidateRect(hWnd, RECT.FromRectangle(lpRect), bErase)

.

InvalidateRect(hWnd, IntPtr.Zero, true);

.
Documentation
[InvalidateRect] on MSDN

coredll

.

    /// <remarks>See the documentation for the WinCE version of InvalidateRect</remarks>

.

    public extern static void InvalidateRect( IntPtr handle, Rectangle rect, bool erase );

.

    /// <remarks>See the documentation for the WinCE version of InvalidateRect</remarks>

.

    public static void InvalidateRect( Control control, Rectangle rect, bool erase )

.

        InvalidateRect( control.Handle, rect, erase );

.

    internal extern static void InvalidateRect( IntPtr handle, IntPtr dummy, bool erase );

.

    /// <remarks>See the documentation for the WinCE version of InvalidateRect</remarks>

.

    public static void InvalidateRect( IntPtr handle, bool erase )

.

        InvalidateRect( handle, IntPtr.Zero, erase );

.

    /// <remarks>See the documentation for the WinCE version of InvalidateRect</remarks>

.

    public static void InvalidateRect( Control control, bool erase )

.

        InvalidateRect( control.Handle, IntPtr.Zero, erase );

.
Documentation
InvalidateRect @msdn on MSDN
.

    /// <remarks>See the documentation for the WinCE version of InvalidateRect</remarks>

.

    public extern static void InvalidateRect( IntPtr handle, Rectangle rect, bool erase );

.

    /// <remarks>See the documentation for the WinCE version of InvalidateRect</remarks>

.

    public static void InvalidateRect( Control control, Rectangle rect, bool erase )

.

        InvalidateRect( control.Handle, rect, erase );

.

    internal extern static void InvalidateRect( IntPtr handle, IntPtr dummy, bool erase );

.

    /// <remarks>See the documentation for the WinCE version of InvalidateRect</remarks>

.

    public static void InvalidateRect( IntPtr handle, bool erase )

.

        InvalidateRect( handle, IntPtr.Zero, erase );

.

    /// <remarks>See the documentation for the WinCE version of InvalidateRect</remarks>

.

    public static void InvalidateRect( Control control, bool erase )

.

        InvalidateRect( control.Handle, IntPtr.Zero, erase );

.
Documentation
InvalidateRect @msdn on MSDN

 
Access PInvoke.net directly from VS: