home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / windows / c / lckowl15 / genmdix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-08  |  1.6 KB  |  58 lines

  1. #ifndef __GENMDIX_H__
  2. #define __GENMDIX_H__
  3.  
  4. #include "owl.h"
  5. #include "filedial.h"
  6. #include "inputdia.h"
  7. #include "bwcc.h"
  8. #include "tdrover.h"
  9. #include "lckowl.h"
  10. #include "genmdix2.h"
  11.  
  12. _CLASSDEF(TGENMDIFrame)
  13. _CLASSDEF(TMyWindow)
  14.  
  15. class TGENApp : public TApplication {
  16.     public:
  17.     TGENApp(LPSTR name, HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmd, int nCmdShow)
  18.         : TApplication(name, hInstance, hPrevInstance, lpCmd, nCmdShow) {};
  19.     virtual void     InitMainWindow();
  20. };
  21.  
  22. class TGENMDIFrame : public TMDIFrameTools
  23. {
  24.     protected:
  25.  
  26.     public:
  27.     TGENMDIFrame(LPSTR ATitle, LPSTR MenuName);
  28.     virtual void    CMCloseType(RTMessage Msg)    = [CM_FIRST + IDM_CLOSETYPE];
  29.     virtual void    CMEnter1(RTMessage Msg)        = [CM_FIRST + IDM_ENTER1];
  30.     virtual void    CMEnter2(RTMessage Msg)        = [CM_FIRST + IDM_ENTER2];
  31.     virtual void    CMNew(RTMessage Msg)        = [CM_FIRST + IDM_NEW];
  32.     virtual void    CMNew2(RTMessage Msg)        = [CM_FIRST + IDM_NEW2];
  33.     virtual void    CMNew3(RTMessage Msg)        = [CM_FIRST + IDM_NEW3];
  34.     virtual void    CMTypeCount(RTMessage Msg)    = [CM_FIRST + IDM_TYPECOUNT];
  35. };
  36.  
  37. class TMyWindowTools : public TWindowTools
  38. {
  39.     public:
  40.     TMyWindowTools(PTWindowsObject AParent, LPSTR ATitle, WORD AWindowType);
  41. };
  42.  
  43. class TMyWindowTable : public TWindowTable
  44. {
  45.     public:
  46.     TMyWindowTable(PTWindowsObject AParent, LPSTR ATitle, WORD AWindowType, WORD ATableStyle);
  47.     virtual void    SetupWindow();
  48. };
  49.  
  50. class TMyMDIChildWindow : public TMDIChildWindow
  51. {
  52.     public:
  53.     TMyMDIChildWindow(PTWindowsObject AParent, LPSTR ATitle, LPSTR ADialogName, WORD AWindowType = NULL);
  54. };
  55.  
  56. #endif // __GENMDIX_H__
  57.  
  58.