Comments (1)
Thanks.
GetFilePathName will alway return current file with selected extention. its made for save new file. (so write file from field)
because you can also select many file and you will obtain "4 selected files.*" returned by GetFilePathName()
i you want to get selection, you will have to use GetSelection() method
i made that like that, because i defined no way for distinguish save dialog behavior tnat open dialog behavior.
you must adapt the return corresponding to your use
i will add comment for explain that
from imguifiledialog.
Related Issues (20)
- Replacestring gets stuck in infinite loop HOT 2
- Images referred in the README.md are missing HOT 1
- MSVC specific pragma directives HOT 10
- ImGuiFileDialogFlags_CaseInsensitiveExtention is broken?? HOT 3
- Show Symlinks HOT 7
- Please '#define IMGUI_DEFINE_MATH_OPERATORS' _BEFORE_ including imgui.h! HOT 2
- User providing absolute path to file dialog results in malformed path HOT 8
- How to configure OpenDialog for "saving as" ? HOT 1
- Android? HOT 1
- Improve Compile Times HOT 1
- Compile Errors and Warnings in v0.6.6 HOT 7
- Compilation warnings: missing override tag HOT 1
- Add a way for compute the size according to the file infos like ext, by ex for separate gltf for have the bin size
- Add way for display a custom tooltip of many fields for a particular file
- Q: How to select directory? HOT 1
- Potential memory leak? HOT 9
- Files don't show up if they have no file extension HOT 9
- Issue while scanning directories HOT 2
- add a way for have custom columns displayed and filled by a user provided file infos functions
- ScanDirectory with std::filesystem incomplete if an exception is raised HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imguifiledialog.