ImGui > call system File Dialog?

Hi Community!

I’d like to use a Load Image button in ImGui to call the system’s native File Dialog, so that a user of a standalone .exe can choose an image file from the hard drive. When I right-click a file path node inside vvvv, the system window is labeled “Select File”

I tried every imaginable keyword (select/file/system/open/load/path/dialog/…) in the nodes search, looked here in the Forum and also in the (very good) how-to section of gamma’s native help browser, but couldn’t find a solution, though it seems to be possible.

Any idea where to start?
Thanks a lot!

Yo!

There’s a help patch called File Dialogs in the help browser, maybe that’s what you’re looking for?

2 Likes

Sweet! That’s just it.

But… where do i find the FileDialog node? Is it from an external library, like the skia renderer? Doesn’t seem so. Still, i can only find it in the help patch.

Ok, I can copy/paste it for now, but it would be nice to have it in the doubleclick search by default.

You have to reference VL.CoreLib.Windows to get these nodes.

2 Likes

You made my day :-)

@sebescudie actually you made my day too)

I made these nodes so long ago that I didn’t even check if those are the default:

image

But the real missing node is the folder opening node

Dialogs.vl (41.7 KB)