Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Read-Only in wxFileDialog has no effect
(1/1)
MortenMacFly:
Dear all,
a collegue of mine has told me an issue he was experiencing: When you open a file with C::B under Windows there is a checkbox "read-only" visible in the file open dialog. But whether you check this or not has no effect. Unfortunately Windows users are used to applications that force a read-only mode when opening files and having this checkbox enabled (independent of whether the file is actually read-only on the FS or not).
I had a lo at the wxWidgets docu to look for wxFileDialog but it is written there as flag:
--- Code: ---wxHIDE_READONLY:
Do not display the checkbox to toggle display of read-only files.
Deprecated in 2.6; the checkbox is never shown.
--- End code ---
But it doesn's seem like that because the checkbox is definetely there and I'm using v2.6.3. Could somebody confirm that this is not only on our PC's, please? What to do?!
With regards, Morten.
thomas:
If you add the wxHIDE_READONLY flag, the checkbox is gone. Otherwise it shows.
MortenMacFly:
--- Quote from: thomas on July 05, 2006, 01:07:36 pm ---If you add the wxHIDE_READONLY flag, the checkbox is gone. Otherwise it shows.
--- End quote ---
...so I vote for adding this to C::B to avoid confusions allthough it's deprecated concerning the docus.
thomas:
Lol, don't vote, just add it :)
Personally, I never open anything read-only anyway, so I would never notice. However someone who actually uses the read-only box may really find it annoying and confusing.
Navigation
[0] Message Index
Go to full version