| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 | 
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit | 
| Moderator: | STAR::VATNE | 
| Created: | Mon Oct 30 1989 | 
| Last Modified: | Mon Dec 31 1990 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 3726 | 
| Total number of notes: | 19516 | 
    Is there a supported way for a user program to know what files
    have been selected in FileView (user executive) ?
    
    I would like to write my own programs to act on files that have
    been selected, just as copy, type, etc. do in the standard Files
    menu  For example, a program that will open up the file and display
    it in an image widget (if there is an image in it).
    
    A pointer to documentation would be appreciated.
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 688.1 | See the FileView tailoring memo | TOOK::MERSHON | Ric Mershon | Thu Apr 27 1989 08:00 | 13 | 
| RE: <<< Note 688.0 by DEMOAX::HENCHEY "Paul" >>>
	There is a memo on FileView tailoring that will tell you how
	to do what you're asking for in note 6 of the FileView
	notes conference on BULOVA.
	Press KP7, etc... to add the FileView notes conference to
	your notebook.
	-ric.
    
 | |||||
| 688.2 | Standard global selection mechanism | DECWIN::KLEIN | Mon May 01 1989 16:57 | 9 | |
| FileView uses the "standard" DWT global selection mechanism. Use XtGetSelectionValue to request the XA_PRIMARY atom in XA_STRING format. You will get a list of file names, separated by \n (newline) characters. Or, use the FileView command file callbacks if you want to be integrated with the FileView application startup mechanism. -steve- | |||||