#pragma once #include "SRWnd.h" #include "WCString.h" #include namespace SRFramework{ class SRLabel : public SRFramework::SRWnd { public: SRLabel(const WCString &label = ""); virtual ~SRLabel(VOID); BOOL Create(SRWnd *pParentWnd, RECT bounds, INT nChildID = NULL, DWORD dwStyle = WS_CHILD | SS_LEFT | WS_TABSTOP); // Does not need to be registered the call to InitCommonControlsEx // does that for us. BOOL Register() { return TRUE; } WCString GetText(); BOOL SetText(const WCString &label); }; }