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 » FileSel&FileList, Path » FileSel: How to get the file name (just saved).
FileSel: How to get the file name (just saved). [message #29069] Mon, 04 October 2010 14:01 Go to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Hi,

How can I get the name of the file I have just, for instance, saved? AFAIK the value returned by the FileSel Ctrl is the full path of the file but not the name of the file. Also, the Get method does the same. Please correct me if I am mistaken.

Cheers,

Javier
Re: FileSel: How to get the file name (just saved). [message #29071 is a reply to message #29069] Mon, 04 October 2010 14:16 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1400
Registered: September 2007
Ultimate Contributor
See
String  GetFileDirectory(const char *path); // with DIR_SEP at the end
String  GetFileFolder(const char *path); // without DIR_SEP at the end, if not Win32 root
String  GetFileTitle(const char *path);
String  GetFileExt(const char *path);
String  GetFileName(const char *path);

and other function from Path.h.
Re: FileSel: How to get the file name (just saved). [message #29076 is a reply to message #29071] Mon, 04 October 2010 16:21 Go to previous message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
thanks...

Javier
Previous Topic: Style for FileSel / FileList
Next Topic: Preview of FileSel
Goto Forum:
  


Current Time: Thu Oct 28 00:31:20 CEST 2021

Total time taken to generate the page: 0.01198 seconds