#pragma once #include "SRWnd.h" #include namespace SRFramework{ class SRProgress : public SRFramework::SRWnd { public: SRProgress(VOID); virtual ~SRProgress(VOID); BOOL Create(SRWnd *pParentWnd, RECT bounds, INT nChildID = NULL, DWORD dwStyle = WS_CHILD | WS_BORDER | PBS_SMOOTH); // Does not need to be registered the call to InitCommonControlsEx // does that for us. BOOL Register() { return TRUE; } INT SetPosition(INT nNewPos); }; }