home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / basic / eventshell / Tools / !EvntEdit / UserFNs / PopNotify < prev    next >
Encoding:
Text File  |  1995-12-25  |  562 b   |  18 lines

  1. *|Start FN.........
  2. DEF FN.........( window_handle%, icon_handle%, menu_item_text$ )
  3.  
  4. REM Called when a selection has been made from a 'popup' type menu
  5. REM (i.e. one that is attached to an icon in a window)
  6. REM window_handle%  - window that icon is in
  7. REM icon_handle%    - icon the menu is attached to
  8. REM menu_item_text$ - the text of the menu item that was selected
  9.  
  10. LOCAL
  11.  
  12. REM If this FN returns 0 then the text in the display icon (if any) is
  13. REM not updated. Non 0 places the menu item text automatically in the
  14. REM display icon.
  15.  
  16. = 1
  17. :
  18. *|Stop FN.........