how does wxWidget app keep track of the last opended dir
Riccardo Cohen
rcohen at articque.com
Thu Oct 25 00:26:23 PDT 2007
I suppose there is something like registers on windows. In our app, we
decided to wrap wxFileSelector/wxFileDialog with a class art_file_tool.
First because we wanted to specify the current path depending of the
user action (ie:file open has a memorized directory, and file sale may
have another), and this behavior had to be portable, but also because we
wanted the file selector to memorize the extension used (file type)
Xu, Ming (NIH/NLM/NCBI) [E] wrote:
> Thank for clarifying this, I wonder how the widgets app can 'memorize'
> The last visited dir w/o referring to registry file.
>
> Thanks
>
> ming
>
> -----Original Message-----
> From: Brian Vanderburg II [mailto:BrianVanderburg2 at aim.com]
> Sent: Wednesday, October 24, 2007 10:17 AM
> To: wx-users at lists.wxwidgets.org
> Subject: Re: how does wxWidget app keep track of the last opended dir
>
> I think some platforms do this type of stuff automatically somehow. For
> instance, on MSW, Windows seems to remember the last directory of the
> file open/save dialogs if no start directory is passed.
>
> B. A. Vanderburg II
>
> Xu, Ming (NIH/NLM/NCBI) [E] wrote:
>> Hi,
>>
>> A wxWidget app seems to keep the last visited directory, but that
>> obvisouly
>>
>> Is not done at the app level src code. Does wxWidget really 'memorize'
>>
>> The last visit directory at its libs level codes ?
>>
>> ming
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
--
Très cordialement,
Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49
More information about the wx-users
mailing list