[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.ScrollWindowEx

Scrolls the content of a window, by a number of pixels.

Declaration

Source position: winapih.inc line 232

public function TWidgetSet.ScrollWindowEx(

  hWnd: HWND;

  dx: Integer;

  dy: Integer;

  prcScroll: PRect;

  prcClip: PRect;

  hrgnUpdate: HRGN;

  prcUpdate: PRect;

  flags: UINT

):Boolean; virtual;

Arguments

hWnd

  

The window handle.

dx

  

Horizontal distance (positive to scroll right)

dy

  

Vertical distance (positive to scroll down)

prcScroll

  

The part of the window, that is to be scrolled. Nil means the entire client area.

prcClip

  

Pixels falling outside this rectangle are lost. Nil means the entire client area.

hrgnUpdate

  

The invalidated parts of the window are added to this region (can be zero).

prcUpdate

  

Receives the boundary of the invalidated part of the window (can be Nil).

flags

  

Control flags.

Function result

False on failure.

Description

The following flags are defined:

The latest version of this document can be found at lazarus-ccr.sourceforge.net.