home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / TBAR1 / TOOLBAR.NOT < prev   
Text File  |  1995-04-07  |  1KB  |  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 releated classes.  
  4.  
  5.  
  6. The Tool Bar function demonstrated here is built upon a number of C++ classes being added to the User Interface 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 option long text field(info area).
  11.  
  12. ITimer (itimer.hpp)  -  A system time class used to delay the display of the 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 for a mask bitmap like icons have.  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.