Home > Software engineering > How to let commondialog open window allows only browsing, prohibit the user action file
How to let commondialog open window allows only browsing, prohibit the user action file
Time:12-22
Commondialog showopen or showsave, the default is open the computer resource manager, can create folders, rename, delete operations, such as how to ban users manipulate files in this window, only provide browsing, selected, the operation of open (save)?
Flags=cdlOFNAllowMultiselect, although you can have the effect, but the interface is changed, and the function of the multiselect is not wanted,
CodePudding user response:
As if there is no simple method, because the underlying API to provide customers with the function of these, to simulate or write their own window, or add a hook to intercept to ban, all the trouble,