On 10/21/12 09:25, Greg Ercolano wrote:
> On 10/20/12 17:47, Gonzalo Garramuno wrote:
> 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..
Also: you might want to see if the Windows native chooser
has a callback hook that would let you do what you want.
I can't recall offhand, but I think there were some interesting
hooks that let you get control during the browsing process, but
not 100% sure.
You'd probably be doing your users a favor by providing native
widgets if you're still working in CG. Even though the fltk wrapper
around the native stuff might not provide this, you can probably
still access it (either by adding the capability to the FLTK native
wrapper code, or by doing some win32 coding on the public side
of the class)
The fltk native file chooser uses GetOpenFileNameW() in WIN32,
which if you read about it and its related functions, might
find a callback hook.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk