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 "PAINTSTRUCT" in [All]

Structures

.

struct PAINTSTRUCT {

.

  Public Structure PAINTSTRUCT

.
Documentation
[PAINTSTRUCT] on MSDN
.
    • When this member is NULL, an application must paint its own background whenever it is requested to paint in its client area. To determine whether the background must be painted, an application can either process the WM_ERASEBKGND message or test the fErase member of the PAINTSTRUCT structure filled by the BeginPaint function.
.
    • When this member is NULL, an application must paint its own background whenever it is requested to paint in its client area. To determine whether the background must be painted, an application can either process the WM_ERASEBKGND message or test the fErase member of the PAINTSTRUCT structure filled by the BeginPaint function.

user32

.

static extern IntPtr BeginPaint(IntPtr hwnd, out PAINTSTRUCT lpPaint);

.

Public Shared Function BeginPaint(ByVal hwnd As IntPtr, <Out()> ByRef lpPaint As PAINTSTRUCT) As IntPtr

.

PAINTSTRUCT

.

                PAINTSTRUCT ps;

.

static extern bool EndPaint(IntPtr hWnd, [In] ref PAINTSTRUCT lpPaint);

.

Public Shared Function EndPaint(ByVal hwnd As IntPtr, <[In]()> ByRef lpPaint As PAINTSTRUCT) As IntPtr

.

PAINTSTRUCT


 
Access PInvoke.net directly from VS: