home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / CMNVUE.ZIP / DEMO.HXX < prev    next >
Text File  |  1988-11-30  |  2KB  |  75 lines

  1. #define    NORESSTRING
  2. #define    NOACCEL
  3. #define    NOCOLOR
  4. #define    NOCARET
  5. #define    NOCURSOR
  6. #define    NOBRUSH
  7. #define    NOBITMAP
  8. #define    NOPEN
  9. #define    NOFONT
  10.     #define    NOFIXEDICON
  11.         #define    NOVERTBAR
  12.             #define NORADIOBUTTON
  13.             #define    NOCHECKBOX
  14.         #define NOLISTBOX
  15.         #define    NOFIXEDTEXT
  16.  
  17. #include <CommonVu.hxx>
  18. #include "defines.h"
  19.  
  20. extern int sprintf ( char * buff, const char * format, ... );
  21.  
  22. class DemoWind : public TopAppWindow {
  23.     App                    *parent;
  24.     long            far MenuCommand ( MenuCommandEvt );
  25. public :
  26.                     far DemoWind ( App * );
  27. };
  28.  
  29. class AboutDialog : public DialogWindow {
  30.     long            far ButtonClick ( ControlEvt );
  31.     long            far WindowInit ( Event );
  32. public :
  33.                         AboutDialog ( pWindow parent, npchar RscID )
  34.                         : ( parent, RscID ) { Show(); }
  35. };
  36.  
  37. class InfoBox : public MessBox {
  38. public:
  39.                         InfoBox ( pWindow p, pchar Text );
  40. };
  41.  
  42. class MsgBox : public MessBox {
  43. public:
  44.                         MsgBox( pWindow p, pchar Text );
  45. };
  46.  
  47. class HelloDialog : public DialogWindow {
  48.     MultiLineEdit        *CFile, *CxxFile;
  49.     long            far ButtonClick ( ControlEvt );
  50.     long            far WindowInit ( Event );
  51.     long            far Expose ( ExposeEvt );
  52. public:
  53.                         HelloDialog ( pWindow parent, npchar RscID )
  54.                         : ( parent, RscID ) { Show (); }
  55.                         ~HelloDialog ();
  56. };
  57.  
  58. class DetailsDialog : public DialogWindow {
  59.     HorizScrollBar        *CompatScroll;
  60.     HorizScrollBar        *CodeReductScroll;
  61.     HorizScrollBar        *ExeScroll;
  62.     pWindow                DetailsParent;
  63.     long            far ButtonClick ( ControlEvt );
  64.     long            far WindowInit ( Event );
  65.     long            far HorizScroll ( ScrollEvt );
  66.     long            far Expose ( ExposeEvt );
  67. public:
  68.                         DetailsDialog ( pWindow parent, npchar RscID )
  69.                         : ( parent, RscID ) {
  70.                             DetailsParent = parent;
  71.                             Show();
  72.                         }
  73.                         ~DetailsDialog ();
  74. };
  75.