src/checkbox.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_CHECKBOX_H
00008 #define M_CHECKBOX_H
00009 
00010 namespace MWidgets
00011 {
00012 
00014         class CheckBox:public Widget
00015         {
00016         protected:
00018                 virtual void OnCommand( WORD code,WORD id );
00019         public:
00021                 CheckBox();
00027                 virtual void Create(Widget *parent,int x,int y,int w,int h,string caption);
00029                 BOOL GetCheked();
00032                 void SetCheked(BOOL val);
00034                 virtual WIDGET_TYPE GetType();
00035         };
00036 };
00037 
00038 #endif

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