[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

688.0. "User program access to FileView selections ?" by DEMOAX::HENCHEY (Paul) Wed Apr 26 1989 18:58

    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.RTitleUserPersonal
Name
DateLines
688.1See the FileView tailoring memoTOOK::MERSHONRic MershonThu Apr 27 1989 09:0013
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.2Standard global selection mechanismDECWIN::KLEINMon May 01 1989 17:579
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-