wxFilePicker - how to prevent a directory change?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
mbeardsley
Knows some wx things
Knows some wx things
Posts: 46
Joined: Thu Sep 25, 2014 7:40 pm

wxFilePicker - how to prevent a directory change?

Post by mbeardsley » Fri Aug 19, 2016 6:26 pm

Is there some way to create a wxFilePicker control that prevents the user from being able to open a file from other directories?
I want to limit the user to choosing an already existing file from the provided directory (i.e. no "browse").

I am running MSW 7.0, wxWidgets 3.0.2 and VC10.

PB
Part Of The Furniture
Part Of The Furniture
Posts: 2116
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxFilePicker - how to prevent a directory change?

Post by PB » Fri Aug 19, 2016 6:46 pm

No, the underlying implementation does not support this.

Post Reply