src/dialog.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_DIALOG_H
00008 #define M_DIALOG_H
00009 
00010 namespace MWidgets
00011 {
00012 
00014         class Dialog:public Widget
00015         {
00016         protected:
00018                 virtual LRESULT OnMessage (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
00020                 int m_iResult;
00022                 bool m_bShow;
00023         public:
00025                 Dialog();
00030                 virtual void Create(int w,int h,string caption);
00033                 int DoModal(Widget* parent);
00036                 void EndDlg(int val);
00038                 virtual WIDGET_TYPE GetType();
00039         };
00040 };
00041 
00042 #endif

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