That jpeg image viewing with fP...
Fairlight
fairlite at fairlite.com
Sun Apr 3 10:34:35 PDT 2005
Is Vueprint sufficient, or do I want to still be looking at writing
something like this? I ask because I just got the solution for the focus
issue--one that will allow me to put focus on the last window that had
focus before the viewer was started. This would ostensibly be the filePro
window that was active at @KEY.
The other considerations aren't as hard. Some sort of IPC can always be
worked out. I personally think it would probably be easiest to make it a
client/server affair where the viewer simply listens for a UDP packet from
the local host (ONLY from the local host, for security reasons) that tells
it the pathname of the image to load. You'd call a windowless client that
would start the viewer if it needed starting, and pass along the data to
the viewer once one is running--or the current one if extant. It's a pity
Windows doesn't support named pipes. That would be ideal.
This model (rather than DDE, OLE/COM, etc.) would actually make -that- part
of it uniform between *nix and Windows, and only the focus would have to be
reworked for *nix if it was ever required.
Of course, if Vueprint is sufficient, I shouldn't bother wasting my time. :)
Hence the query...
mark->
--
Fairlight-> ||| "What if it's real, what if you're | Fairlight Consulting
__/\__ ||| just faking? What if you knew you |
<__<>__> ||| could? What if you get off on | http://www.fairlite.com
\/ ||| manipulating? Why does it feel so | info at fairlite.com
||| good?" --Le Bon |
More information about the Filepro-list
mailing list