Questions tagged [ifiledialog]
7 questions
2
votes
3 answers
Default filename appears truncated in Windows IFileDialog
When using the Windows IFileDialog interface to launch File browser dialog, I face an issue if the default filename provided exceeds certain number of characters.
The filename appears truncated, although it is simply wrapped around so that we can…

Saket Sharad
- 392
- 2
- 11
1
vote
1 answer
Error using C++ COM/IFileDialog in VS Code while the same code works in Visual Studio. Message: 'IID_IFileOpenDialog' was not declared in this scope
I have C++ code where I'm trying to open a file select dialog with the Component Object Model's IFileDialog. The code works in Visual Studio but when I type the exact same code in VS Code, there are 2 errors:
IID_IFileOpenDialog' was not declared in…

DoinSomeCodeEre
- 13
- 3
1
vote
1 answer
IFileDialog: Add a Custom Place - and select that place
I am using IFileDialog::AddPlace to add e.g. "c:\\my\\custom\\location" as a custom place to select files from to the navigation panel on the left, and set that as (default/forced) initial folder.
However, when the dialog opens, the root drive (C:…

peterchen
- 40,917
- 20
- 104
- 186
0
votes
1 answer
How to change the displayed name of a folder added to IFileDialog using AddPlace
I've implemented my own File Dialog using the IFileDialog interface, and I am adding Places to the file dialog. I need to change the displayed name of a place to my own text, because if I have two places that happen to have the same name, they are…

Liam
- 1,472
- 1
- 10
- 14
0
votes
2 answers
How add Multiselect to this custom File Dialog
I want to added Multiselect to this custom File Dialog. I add the "FOS_ALLOWMULTISELECT" and i can select more than one folder. But when i want to get the folders name the same way, when Multiselect=false, the shellItemArray comes null and not with…

Hellboy.
- 63
- 7
0
votes
0 answers
Any trick for opening Windows Explorer file dialog without any shell extensions?
When we trigger File>>Open from within our application, we open a Windows Explorer file dialog... standard for most of the world's Windows applications. This means that any shell extension DLLs that a user has installed now get loaded as part of our…

Inquisitor
- 49
- 8
0
votes
1 answer
LNK2019 with a sample from MSDN
Tried to copy the code from the .cpp file in Common File Dialog Sample got some LNK2019. It seems like a problem with the linking of 3 functions.
Here are the errors:
Severity Code Description Project File Line Suppression State
Error …

Avisrul156689
- 15
- 5