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