Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_BeginPaint

Previous pageReturn to chapter overviewNext page

 

Description

 

Prepares the specified window for painting and fills a PAINTSTRUCT structure with information about the painting.

 

Syntax

 

n = Win_BeginPaint(hWnd, lpPaint)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle to the window to be repainted.

lpPaint

UDT

No

A PAINTSTRUCT structure that will receive painting information.

 

Remarks

 

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/dd183362(VS.85).aspx

 

Restrictions

 

See also

 

Examples