Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_WinUtl_LockWindowUpdate

CSV_WinUtl_LockWindowUpdate

Freezes the specified window (prevents CitectSCADA repainting it).

Syntax

CSV_WinUtl_LockWindowUpdate(hWnd)

#hWnd:

Handle of window to freeze, or -1 to unfreeze any frozen window.

Return Value

0 if successful, otherwise -1.