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

Modernize folderdialog? #1378

Open
huan1936 opened this issue May 9, 2024 · 1 comment
Open

Modernize folderdialog? #1378

huan1936 opened this issue May 9, 2024 · 1 comment

Comments

@huan1936
Copy link

huan1936 commented May 9, 2024

Specification

  • pywebview version: 5.1
  • operating system: Windows 10
  • web renderer: edgechromium

Description

Could we possibly implement a more modern folder dialogue box? The one currently in use, originating from System.Windows.Forms, is notably cumbersome. Is it feasible to introduce a dialogue box styled after Vista?
Current dialog

Vista-style-dialog

@r0x0r
Copy link
Owner

r0x0r commented May 10, 2024

Winforms does not provide modern dialogs, but it seems to be doable by implementing dialogs on top of IFileDialog https://learn.microsoft.com/en-us/windows/win32/shell/common-file-dialog

Microsoft.Win32.OpenFileDialog namespace looks like a promising candidate as well https://learn.microsoft.com/en-us/dotnet/api/microsoft.win32.openfiledialog?view=windowsdesktop-8.0&viewFallbackFrom=net-5.0

Contributions welcomed.

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

No branches or pull requests

2 participants