home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / framctl1.zip / FRAMECTL.IPF < prev    next >
Text File  |  1996-06-08  |  914b  |  22 lines

  1. :userdoc.
  2. :title.A Picture Perfect Control
  3. :h1 res=300.Frame Extensions Sample
  4. :p.
  5. This sample demonstrates how to implement frame extensions.  The
  6. frame extensions are graphic button controls that are created with the
  7. button styles BS_PUSHBUTTON and BS_BITMAP.
  8. :p.
  9. The first extension, the close button, is positioned between the system
  10. menu, and the title bar.  It is created with the BS_SYSCOMMAND style which
  11. generates a WM_SYSCOMMAND message when the button is clicked.  Clicking
  12. this button closes the sample application.
  13. :p.
  14. The second extension which you clicked to bring up this help, is the help
  15. button.  It is positioned between the title bar and the min/max buttons.
  16. It is created with the BS_HELP style which generates a WM_HELP message
  17. when the button is clicked.
  18. :p.
  19. If neither the BS_SYSCOMMAND nor the BS_HELP style is included, a
  20. WM_COMMAND message is generated.
  21. :euserdoc.
  22.