home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / splitcv / asplitcv.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.8 KB  |  53 lines

  1. /******************************************************************************
  2. * .FILE:         asplitcv.hpp                                                 *
  3. *                                                                             *
  4. * .DESCRIPTION:  Split Canvas Example                                         *
  5. *                                                                             *
  6. * .CLASSES       ASplitCanvas                                                 *
  7. *                                                                             *
  8. * .COPYRIGHT:                                                                 *
  9. *    Licensed Material - Program-Property of IBM                              *
  10. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  11. *                                                                             *
  12. * .DISCLAIMER:                                                                *
  13. *   The following [enclosed] code is sample code created by IBM               *
  14. *   Corporation.  This sample code is not part of any standard IBM product    *
  15. *   and is provided to you solely for the purpose of assisting you in the     *
  16. *   development of your applications.  The code is provided 'AS IS',          *
  17. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  18. *   arising out of your use of the sample code, even if they have been        *
  19. *   advised of the possibility of such damages.                               *
  20. *                                                                             *
  21. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  22. *                                                                             *
  23. ******************************************************************************/
  24. #ifndef ASPLITCV_HPP
  25. #define ASPLITCV_HPP
  26.  
  27. #include <iframe.hpp>                   // IFrameWindow
  28. #include <istattxt.hpp>                 // IStaticText
  29. #include <isplitcv.hpp>                 // ISplitCanvas
  30.  
  31. /******************************************************************************
  32. * Class ASplitCanvas - main window for the sample application                 *
  33. ******************************************************************************/
  34. class ASplitCanvas : public IFrameWindow
  35. {
  36.   public:
  37. /*------------------------------- Constructor --------------------------------|
  38. | Constructs the object with:                                                 |
  39. | 1) the window id                                                            |
  40. --------------------------------- Constructor -------------------------------*/
  41.     ASplitCanvas(unsigned long windowId);
  42.  
  43.   private:
  44.     ISplitCanvas
  45.       horzCanvas,
  46.       vertCanvas;
  47.     IStaticText
  48.       lText,
  49.       rText,
  50.       bText;
  51. };
  52. #endif
  53.