home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / include / xmodal.h < prev    next >
C/C++ Source or Header  |  1997-04-02  |  1KB  |  28 lines

  1. #ifndef __XMODALDIALOG_H__
  2. #define __XMODALDIALOG_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------- OS/2 Beta 1 */
  6. /*===========================================================================*/
  7. /*                              class: XModalDialog                            */
  8. /*                       derived from: XDialog                               */
  9. /*                        last update: 4/97                                  */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13.  
  14.  
  15. #include "XDialog.h"
  16.  
  17.  
  18. class _export_ XModalDialog: public XDialog
  19. {
  20.    friend MRESULT EXPENTRY ModalDProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  21.    public:
  22.         virtual BOOL QueryForClose( SHORT com) { return TRUE;}
  23.       XModalDialog( const XResource * res, const XWindow * owner, BOOL center = TRUE);
  24.         void Start (void);
  25. };
  26.  
  27. #endif
  28.