====== zprogbox_SetProgress ====== ===== Description ===== Set the current progress in a progress bar window. ===== Files ===== ^ Declaration | ''Zeolite.h'' | ^ Implementation | ''Zeolite.cpp'' | ===== Function prototype ===== bool zprogbox_SetProgress(ZVAR hProgWnd, __int64 p, __int64 pmax); ===== Arguments ===== ^ Name ^ Type ^ Comment ^ | //hProgWnd// | ''ZVAR'' | A [[zeolite:types:ZVAR]] handle of type VarID_progbox. | | //p// | __int64 | A signed 64-bit integer, representing the current progress. | | //pmax// | ''__int64'' | A signed 64-bit integer, representing the maximum progress of the progress bar. | ===== Return value ===== False if: * The //hProgWnd// is not a valid handle to a VarID_progbox variable. * The ZPROGBOX_ALLOW_CANCEL flag is set (see [[zeolite:functions:zprogbox_ShowWnd]]) and the 'Cancel' button has been pressed by the user. True otherwise. ===== Comments ===== None.