src/radiobutton.h

Go to the documentation of this file.
00001 /*
00002 * Copyright (c) 2006 by Kirill Kolodyazhniy.
00003 * See the file "license.terms" for information on usage and redistribution
00004 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00005 */
00006 
00007 #ifndef M_RADIOBUTTON_H
00008 #define M_RADIOBUTTON_H
00009 
00010 namespace MWidgets
00011 {
00012 
00014         class RadioButton:public Widget
00015         {
00016         protected:
00018                 virtual void OnCommand( WORD code,WORD id );
00021                 static BOOL CALLBACK EnumChildProc(HWND hwnd,LPARAM lParam);
00022         public:
00024                 RadioButton();
00030                 virtual void Create(Widget *parent,int x,int y,int w,int h,string caption);
00032                 BOOL GetCheked();
00034                 void SetCheked();
00036                 virtual WIDGET_TYPE GetType();
00037         };
00038 };
00039 
00040 #endif

Generated on Thu Oct 26 13:47:45 2006 for MWidgets by  doxygen 1.4.7