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