www.pudn.com > Ì廿֯Âë.rar > progress.h, change:2001-12-13,size:668b
#ifndef __progress_h__
#define __progress_h__
#include "resource.h"
#include "windows.h"
//! Progressbar Window Class
class ProgressWin
{
private:
HWND ProgressWnd;
public:
ProgressWin();
~ProgressWin();
/*! sets range of progress bar
*\param min 0% value of progressbar
*\param max 100% value of progressbar
*/
void SetRange(int min, int max);
/*! sets position of progress bar
*\param pos current position of progressbar between min and max
*/
void SetPos(int pos);
/*! sets text above the progress bar
*\param text pointer to text
*/
void SetText(char *text);
};
#endif