[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Aug 3 10:13:39 1993 
Subject:Re: Prodding Ved from the Outside 
From:Anthony Worrall 
Volume-ID:930803.06 

> I'd like to be able to provoke XVed into editing a file ``from the 
> outside'', ie, by running a script or program. [Note that I have
> an XVed already running, and that's the one I'd like to open up
> the new window.]

Under OpenWindows2 and Poplog 14.1 you could drag a file(s) from a filemanger onto a 
ved window which would cause pop to open a new ved window for the file(s) you dropped.
[For some reason this does not work with OpenWindows3 and Poplog 14.2 :-(].

The drop cuases a XV_DO_DRAG_LOAD message to be sent to Poplog which then calls
the handler dragLoad.

> REF * XVED
> dragLoad                                               [xved event name]
>         Passed a  list of  strings as  data. The  default handler  calls
>         ved_ved for  each  string.  This  event  is  generated  when  an
>         XV_DO_DRAG_LOAD client message  is sent to  an XVed window,  for
>         example, when the OpenLook filemanager drops a file on XVed.

So now all you have to do is find your Poplog process and send it a 
XV_DO_DRAG_LOAD meassage. Unfortunately I don't know how to do this :-(.


Anthony.Worrall@Reading.ac.uk