ProcessDrawEvents

int ProcessDrawEvents(void);

Purpose

When your program executes in a callback function or in code that does not call RunUserInterface or GetUserEvent, LabWindows/CVI does not update the user interface. Functions that are overly time-consuming can "lock out" user interface updates. To allow LabWindows/CVI to process these updates, call ProcessDrawEvents.

If you call this function in a multithreaded program, only the panels created in the current thread are guaranteed to be updated fully.

Note    LabWindows/CVI automatically updates the user interface in GetUserEvent or when a callback returns.

Parameters

None.

Return Value

Name Type Description
status integer Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Code Error Message String
xx Success