On 10/20/12 17:47, Gonzalo Garramuno wrote:
> I was wondering if some file requester in fltk allows access to the network 
> files on a windows network that does not map the dirs to a path.
> Instead, the paths are like //machine//drive//dir,
> I need a custom file requester, not the native platform requester, btw.

        Right, so I take it you want to unwind drive letters into their UNC 
equivalent,
        eg. z:/dir -> //host/share/dir.

        An easy solution is to just do that operation after the user chooses
        the file. That would make it easier, since people are probably used
        to the native choosers; in my experience TDs have 'mastered' navigating
        the Mac-specific and Windows-specific file choosers, and are 
lighting-fast
        at zipping through deep directory hierarchies.. that's why I made the
        native FLTK file chooser widget just for those poor guys who spend most
        of the day browsing for files in Maya.

        That said, you could snag a copy of the FLTK chooser's code
        and customize it so that whenever a drive letter shows up in
        the path being browsed, it derives the unc equivalent.

        If you're using fltk2|3, you can probably just make your own namespace
        for it, so that you don't have to change the class names.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to