home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / tbar1 / toolbar.not < prev   
Encoding:
Text File  |  1996-02-22  |  1.4 KB  |  22 lines

  1. Simple Tool Bar example
  2.  
  3. This program is an editor that demonstrates the look and feel of the tool bar and related classes.
  4.  
  5.  
  6. The tool bar function demonstrated here is built upon a number of C++ classes being added to the User Interface Class Library.  For example:
  7.  
  8. IFlyText (iflytext.hpp) - A specially drawn window to display the Fly Over Help
  9.  
  10. IFlyHelpHandler (iflyhhdr.hpp) - A handler to move, size and display the fly text field and to update an optional longer text field(information area).
  11.  
  12. ITimer (itimer.hpp)  -  A system time class used to delay the display of fly text.
  13.  
  14. ICustomButton (icustbut.hpp)  - A new button class built on the PM BS_USERBUTTON with added latching ability.
  15.  
  16. IToolBarButton (itbarbut.hpp) - A new button class that inherits from ICustomButton and provides drawing behaviour for the buttons in a tool bar.  These buttons accept text and a bitmap.  A special ability of these objects is that they can draw bitmaps transparently without the need for a mask bitmap such as icons.  Bitmaps used in these buttons must be created with one color reserved as the transparent color.  By default this color is pink (255, 0, 255) but it can be changed on a per button basis.
  17.  
  18. IToolBar (itbar.hpp) - A new set canvas derived class that is used to house controls.
  19.  
  20. IToolBarContainer (itbarcnr) - A new set canvas derived class that is used to house tool bars.  Objects of this class are created as needed.
  21.  
  22.