home *** CD-ROM | disk | FTP | other *** search
- /*----------------------------------------------------------------------------*\
- | PROGRESS.H |
- \*----------------------------------------------------------------------------*/
-
- BOOL EXPORT ProDlgProc(HWND, unsigned, WORD, LONG);
- BOOL PUBLIC ProInit(HANDLE,HANDLE);
- void PUBLIC ProClear(HWND hDlg);
- HWND PUBLIC ProOpen(HWND,int);
- BOOL PUBLIC ProClose(void);
- BOOL PUBLIC ProSetBarRange(int);
- BOOL PUBLIC ProSetBarPos(int);
- BOOL PUBLIC ProDeltaPos(int);
- BOOL PUBLIC ProSetText (int,LPSTR);
- BOOL FAR cdecl ProPrintf (int,LPSTR,...);
-
- #ifdef DEBUG
- BOOL __f;
- extern int FAR _Assert(PSTR,int);
- extern BOOL fDebug;
- #define dprintf if (fDebug) WinPrintf
- #define WinAssert(exp) ((exp) ? 0 : _Assert(__FILE__,__LINE__))
- #define WinEval(exp) (__f=(exp),WinAssert(__f),__f)
- #else
- #define dprintf if (0) ((int (*)(char *, ...)) 0)
- #define WinAssert(exp) 0
- #define WinEval(exp) (exp)
- #endif
-