Displays a progress bar window.
Declaration | Zeolite.h |
---|---|
Implementation | Zeolite.cpp |
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. |
False if an error has occurred, and true otherwise.
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 . |