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

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //                        SAMPLE CODE
  3. //
  4. // FileName: ACDFBd6.hpp
  5. //
  6. // ClassName: ACompDocFwkMyBundle
  7. //
  8. // Description: This is the bundle class. The reason a user version of the 
  9. //              IGUIbundle class is to try and get the help to work by setting
  10. //              the default style before the view is created
  11. ///////////////////////////////////////////////////////////////////////////////
  12. #ifndef _COMPDOCFWK_BUNDLE_
  13. #define _COMPDOCFWK_BUNDLE_
  14.  
  15. #ifdef IC_TRACE_DEVELOP
  16.     #include <itrace.hpp>
  17. #else
  18.     #define IFUNCTRACE_DEVELOP()
  19.     #define ITRACE_DEVELOP(x)
  20. #endif
  21.  
  22. #include <iguibndl.hpp>
  23. #include <ihelp.hpp>
  24. #include <ipushbut.hpp>
  25. #include <iinfoa.hpp>
  26. #include <isetcv.hpp>
  27. #include <istattxt.hpp>
  28.  
  29. class ACompDocFwkMyBundle : public  IGUIBundle
  30. {
  31. public:
  32.                                 ACompDocFwkMyBundle();
  33.                                 ~ACompDocFwkMyBundle();
  34.  
  35.     // Override this method to create the help window
  36.     Boolean                     adoptFrameWindow( IComponentFrameWindow* );
  37.     IHelpWindow*                helpWindow();
  38.     IStaticText*                statusLine();
  39.     IInfoArea*                  infoArea();
  40.  
  41. private:
  42.     IHelpWindow*                fHelpWindow;
  43.     IStaticText*                fStatusLine;
  44.     IInfoArea*                  fInfoArea;
  45.     ISetCanvas*                 fButtons;
  46.     IPushButton*                fLeftButton;
  47.     IPushButton*                fCenterButton;
  48.     IPushButton*                fRightButton;
  49.     IPushButton*                fHelpButton;
  50.  
  51. };
  52.  
  53. #endif
  54.