Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>@ id ... progressbar</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
@ ID ... PROGRESSBAR
Use a progress bar in a dialog
------------------------------------------------------------------------------

Syntax
#include "windows.ch"
#include "topclass.ch"   --or--   #define  NO_C4WCLASS
#include "commands.ch"
@ ID  <nId>  PROGRESSBAR
     [ <clauses> ]

Arguments
See the generic @ ID ... <ControlType> command for details of
the other <clauses> and/or parameters allowed.

Description
This command can be used to put a progress bar in a dialog.
If you want a complete dialog, there is a WProgressDialog
class as an example.  See the file
SOURCE\OO\CLASSES\PROGBAR.PRG for the code to both the control
and dialog classes.

As this control is implemented using an owner-drawn button, to
put this control in a dialog you should use a button with the
BS_OWNERDRAW style.

See the generic @ ID ... <ControlType> command for other
information.

Example
// From SOURCE\OO\CLASSES\PROGBAR.PRG:
@ Id IDD_BAR  Obj ::oPBar  ProgressBar  At 10,10  Size 100,15

Also, refer to SOURCE\OO\PBAR.PRG.


See Also: @ ID ...

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson