Redraw Method
Description
Redraws a window, or windows.
Syntax
| Visual Basic |
|---|
Public Function Redraw( _ ByVal redrawcode As Integer _ ) As Integer |
Parameters
- redrawcode
-
SIS_CURRENTWINDOWRedraw the current window only. SIS_CURRENTSWDRedraw all windows which contain the current SWD. SIS_ALLWINDOWSRedraw all windows. SIS_QUICK_REDRAWOptional flag which makes Map windows blit their cached bitmap, instead of doing a full "regen". For instance, use
(SIS_CURRENTSWD+SIS_QUICK_REDRAW) after moving Items in the Named List "*Sprites".
Remarks
Available: D OD OM OV
Group:
Example
Example 1:
sis.Redraw (SIS_CURRENTWINDOW)
Example 1 redraws the current window only.
Example 2:
sis.Redraw (SIS_CURRENTWINDOW Or SIS_QUICK_REDRAW)
Replace "Or" with the bitwise-or operator in your language of choice.
Example 2 causes the cached bitmap to be blitted, then the Sprites Overlays drawn, using the SIS_QUICK_REDRAW flag.