refreshRgn

Syntax

int refreshRgn (region R)

Arguments

R
R is a region (see comments)

Return

If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.

Description

Redraws or updates a certain region.

Example

refreshRgn( createRectRgn(215,30,410,250) ); 

Also see

setDialogRegion, lockWindow, refreshWindow, refreshCtl

Comments

"region" correspond to a particular FM type or object that might need to be better documented or defined. You can't directly cast it to an integer, despite it behaves like an integer.

Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.