|
|
Home » U++ Library support » FileSel&FileList, Path » how to GetCurrentDirectory? [SOLVED]+how to search example
how to GetCurrentDirectory? [SOLVED]+how to search example [message #2987] |
Tue, 02 May 2006 20:19  |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
P.S.:
String GetDataFile(const char *name);
Similar to GetExeDirFile, however, when app is started from TheIDE, file from package directory.
The idea is to store project related resources (e.g. textures for 3D app) into package during the develeopment, then for relase copy them with app.
Mirek
P.S. - Edit by fudadmin: this topic was split by me to better serve "future u++ users"...
[Updated on: Wed, 03 May 2006 00:53] by Moderator Report message to a moderator
|
|
|
|
|
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  |
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
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:01:28 CEST 2025
Total time taken to generate the page: 0.00535 seconds
|
|
|