FREEZE_WINDOW_CONTENTS@

Platform

Win32, x64

Purpose

To temporarily freeze the display of a window whilst multiple changes are made to its appearance.

Syntax

SUBROUTINE FREEZE_WINDOW_CONTENTS@( HWND )
INTEGER(7) HWND

Description

HWND is the handle of the window obtained using %hw.

Sometimes it is useful to freeze the visible contents of a window whilst a number of changes are made. This is particularly true when the window contains a frame with child sub-windows. By freezing a window, performing a sequence of changes, and unfreezing the window, the contents of the window will appear to change only once.

This routine covers the window in question with another window containing a copy of the contents of initial window. Therefore it is important that the window is not moved whilst frozen and it should only be frozen for a very short period of time.

See also

UNFREEZE_WINDOW_CONTENTS@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited