Category Windows and views, Object ProWindow

Function ProWindowDeviceFlush


Description
This function forces the flush of pending display commands on the given window. Note: IMPORTANT: Excessive calls to this API will cause major slow down on systems running Vista or Windows 7. It is recommended to call this API only after completing all display operations.
Replacement in Object TOOLKIT: pfcBaseSession::FlushCurrentWindow
Synopsis
#include <ProWindows.h>
ProErrorProWindowDeviceFlush(
ProAppData win
/* (In)
Handle to the window to flush to. If this is NULL the function will flush to current window.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully flushed pending display commands.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

Manual References:

  1. User Interface: Basic Graphics: Flushing the Display Commands to Window