Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Prompt* and file names
Prompt* and file names [message #19729] Wed, 07 January 2009 20:47 Go to next message
White_Owl is currently offline  White_Owl
Messages: 27
Registered: January 2009
Location: New York
Promising Member
Is there an easy way to show windows-style file names (with \ as separator) in Prompt functions?
For example
PromptOk(GetHomeDirectory());
shows the path without any directory separators...
Re: Prompt* and file names [message #19730 is a reply to message #19729] Wed, 07 January 2009 21:02 Go to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
White_Owl wrote on Wed, 07 January 2009 20:47

Is there an easy way to show windows-style file names (with \ as separator) in Prompt functions?


Hello, George.

Yes, there is DeQtf function in "RichText/EncodeQtf.cpp" file:
String DeQtf(const char *s);

For further explanations you can read about QTF format in documentation pages.

[Updated on: Wed, 07 January 2009 21:21]

Report message to a moderator

Previous Topic: Help - I'm trying to draw an array of images
Next Topic: What is the purpose of "typedef MyClass CLASSNAME"?
Goto Forum:
  


Current Time: Fri Apr 19 04:19:55 CEST 2024

Total time taken to generate the page: 1.01945 seconds