home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / framctl1.zip / FRAMECTL.HLP (.txt) < prev    next >
OS/2 Help File  |  1996-08-01  |  1KB  |  19 lines

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