lc-soft / LCUI

C library for building user interfaces
https://lcui-dev.github.io
MIT License
4.12k stars 356 forks source link

File Dialog? #290

Closed wagb283 closed 1 year ago

wagb283 commented 2 years ago

Chao, is there any plan for a file dialog? This is a very promising project, I hope you will continue with development.

lc-soft commented 2 years ago

You mean the file selection dialog? Like this: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.filedialog?view=windowsdesktop-6.0

In another project, I called the function provided by the system to display the file dialog. You can find the relevant code in this file: https://github.com/lc-soft/LC-Finder/blob/develop/src/bridge_win32.cpp

If you need a file dialog based on the LCUI implementation, it may take a long time, because I am currently developing version 3.0.