VCPaint


Version:

1.2

Description:

Repaints the area enclosed by the specified rectangle.

Declaration:

 

C/C++

extern "C" void WINAPI VCPaint(HWND hWnd, RECT rc);

extern "C" void WINAPI VCPaintBP (long hWnd, RECT* rc);

Delphi

procedure VCPaintBP(hWnd: longint; rc: rect); stdcall;

ActiveX/COM

Sub Paint(ByVal hWnd As Long, ByVal left As Long, ByVal top As Long, ByVal right As Long, ByVal bottom As Long)

Parameters:

hWnd - the hWnd handle for the object to be used as the new world.
Rc
- a Windows RECT structure used to define the boundary area.

Notes:

Similar to VCPaintWorld except that it only paints a specified rectangle. This is particularly helpful when a portion of the screen has been covered by a dialog box and now needs to be repainted.

See Also:

VCPaintWorld, VCInvalidateRect