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

  1. #ifndef __XMODALDIALOG_H__
  2. #define __XMODALDIALOG_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  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. class XResource;
  17. class XResourceLibrary;
  18.  
  19.  
  20. class _export_ XModalDialog: public XDialog
  21. {
  22.    friend MRESULT EXPENTRY ModalDProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  23.       void CreateDialog( const ULONG id, const XResourceLibrary * res, const XWindow * owner, BOOL center = TRUE);
  24.    public:
  25.       XModalDialog( const XResource * res, const XWindow * owner, const BOOL center = TRUE);
  26.       XModalDialog( const ULONG id, const XWindow * owner, const BOOL center = TRUE);
  27.       LONG Start (void);
  28. };
  29.  
  30. #endif
  31.