Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add ClientGuid property to file dialogs #110

Open
RichardD2 opened this issue May 25, 2022 · 0 comments
Open

Suggestion: Add ClientGuid property to file dialogs #110

RichardD2 opened this issue May 25, 2022 · 0 comments

Comments

@RichardD2
Copy link

The IFileDialog interface already defines the SetClientGuid and ClearClientData methods.

Adding a ClientGuid property would enable an application to maintain different sets of dialog state for different scenarios, similar to the use of the WinRT pickers' SettingsIdentifier property described by Raymond Chen back in 2020:

The SettingsIdentifier property of the various file pickers lets you give names to your pickers

It should be as simple as adding a nullable Guid property to the VistaFileDialog and VistaFolderBrowserDialog classes, and calling dialog.SetClientGuid or dialog.ClientClientData in the SetDialogProperties method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant