[..] I know I can replace all > > the \ for escaped \ (\\) but this could get complicated fast. I > > suggest a way to disable the automatic hierarchy creation is > > implemented ...
That's the way I've been doing it (escaping the special chars), and it doesn't seem to have added much complexity. The thing is, it's not just directory paths. Fltk uses special formatting characters in at least 3 contexts that I know of: menus, browsers, and labels. So, whenever one is populating these things from an external data source, it's prudent to filter the input, unless of course the data provider is expected to be aware of the fltk conventions. The actual filtering code is pretty trivial, and using it avoids all kinds of nasty surprises that wouldn't show up until after the application is deployed. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

