home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dho.zip / DHO / SRC / SOURCE.ZIP / moddlog.h < prev    next >
C/C++ Source or Header  |  1995-08-27  |  1KB  |  45 lines

  1. /****************************************/
  2. /*    Developer Helper Object Set       */
  3. /*  (C) 1994-95 Thomas E. Bednarz, Jr.  */
  4. /*     All rights reserved              */
  5. /***************************************/
  6.  
  7. /* $Id: moddlog.h 1.6 1995/08/21 05:28:51 teb Exp $ */
  8.  
  9. #ifndef __MODDLOG_H__
  10. #define __MODDLOG_H__
  11.  
  12. #include<winbase.h>
  13.  
  14. class TModalDialog : public TWinBase
  15. {
  16.    protected:
  17.       TWinBase *fOwner;
  18.       void *fBuffer;
  19.       ULONG ret_val;
  20.    public:
  21.       TModalDialog(ULONG resource, TWinBase *owner, void *buffer);
  22.       virtual ~TModalDialog();
  23.       ULONG Execute();
  24.       virtual BOOL init();
  25.       virtual MRESULT DlogProc(HWND hWnd, ULONG Message,
  26.                                          MPARAM mParam1, MPARAM mParam2 );
  27.  
  28.       virtual void doCommand(WinMsg wm);
  29.       virtual void doControl(WinMsg wm);
  30.       virtual SHORT doOK(void);
  31.       virtual void doCancel(void);
  32.  
  33.       virtual void SetData();
  34.  
  35.       virtual const char *getClassName();
  36. };
  37.  
  38.  
  39. MRESULT EXPENTRY ClientModDlogProc(HWND hWnd,ULONG iMessage,
  40.                                                 MPARAM mParam1, MPARAM mParam2);
  41.  
  42.  
  43. #endif
  44.  
  45.