L3DT documentation
Large 3D terrain generator

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 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 zprogbox_ShowWnd) and the 'Cancel' button has been pressed by the user.

True otherwise.

Comments

None.

 
zeolite/functions/zprogbox_setprogress.txt · Last modified: 2017/08/31 05:29 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki