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 » how to GetCurrentDirectory? [SOLVED]+how to search example
Re: how to move the focus from one tab page to another one [message #13614 is a reply to message #2991] Thu, 17 January 2008 14:22 Go to previous message
nixnixnix is currently offline  nixnixnix
Messages: 415
Registered: February 2007
Location: Kelowna, British Columbia
Senior Member
Ctrl+Shift+G does not work for me.

However, I'm writing as an addendum to the information on GetCurrentDirectory(). If you want to use that function in your app to keep track of the current directory then you will also need to make use of SetCurrentDirectory(). I use them like this

	FileSel dlg;
	
	dlg.ActiveDir(GetCurrentDirectory());
	dlg.Type("ESRI Shape files","*.shp");
	dlg.Type("Google Earth files","*.kml");
	
	if(!dlg.ExecuteSaveAs("Export Lines"))
		return;
	
	SetCurrentDirectory(dlg.GetActiveDir());

...


Nick



 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Automagic default extension with multiple file types [FEATURE REQUEST]
Next Topic: FileSel vs. FileSelector documentation shortcoming
Goto Forum:
  


Current Time: Fri May 03 16:10:07 CEST 2024

Total time taken to generate the page: 0.02920 seconds