L3DT documentation
Large 3D terrain generator



Displays a progress bar window.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zprogbox_ShowWnd(ZVAR hProgWnd, unsigned long Flags);


Name Type Comment
hProgWnd ZVAR A ZVAR handle of type VarID_progbox.
Flags unsigned long An unsigned long integer containing a bitwise combination of flags. See comments for supported flag values.

Return value

False if an error has occurred, and true otherwise.


Flag values

The following flag values are defined in Zeolite_defines.h:

Symbol Flag bit Description
ZPROGBOX_SHOW_PERCENT 0x1 Show the progress as a percentage in the progress window title.
ZPROGBOX_INDEFINITE 0x2 Show an indefinite scrolling progress bar.
ZPROGBOX_ALLOW_CANCEL 0x4 Include a cancel button in the progress window. If cancel is pressed, subsequent calls to zprogbox_SetProgress will return false.
zeolite/functions/zprogbox_showwnd.txt · Last modified: 2017/08/31 07:05 (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