The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (API DevKit) for independent software developers

Moderators: ejrolon, Barry Kelly, Karl Ottenstein, LaszloNagy, gkmethy, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik, Tibor Lorántfy, rmasaki

By jerry
#308315
Hi.
I would like to filter the “files of type” to only folders, not seeing any other types of files.
Code: Select all
DG::FileDialog dlg(DG::FileDialog::OpenFolder);
	OpenFolderDialogObserver dialogObserver(&dlg);
	if (!dlg.Invoke()) {
		return;
	}
I implement the IncludeFile function in The OpenFolderDialogObserver .But the method is invalid.
Thanks.
By jerry
#308674
Hi akomporday.

I implement the IncludeFile function in The OpenFolderDialogObserver.
1.png
2.png

But when the dialog is opened, I can still choose other types of files.

Actually I want to filter the “files of type” to only folders, not seeing any other types of files