You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
550 B
C++

#pragma once
class AFX_EXT_CLASS dfCProgress : public CDialog
{
public:
dfCProgress(CWnd* pParent = NULL); // standard constructor
void Initial(CString strName);
int SetPos(double nPos);
void SetRange(double startPos, double endPos);
public:
virtual BOOL Create();
BOOL Create(int nID);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
protected:
DECLARE_MESSAGE_MAP()
void DrawName(CDC* pDC, CRect rect);
private:
CString m_strName;
double m_lastPos;
double m_startPos;
double m_endPos;
};