TWidgetSet.BeginPaint function
Start painting in a window.
Declaration
function BeginPaint(Handle: hwnd; var PS: TPaintStruct): hdc; virtualArguments
Handle | The window Handle. |
PS | Will receive painting information. |
Function result
A Device Context for the window, Nil on failure.
Description
This function is for use in WM_PAINT handlers only. Not all platforms allow for painting outside WM_PAINT messages.
BeginPaint prepares the specified window for painting and fills a PAINTSTRUCT structure with information about the painting.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
