Using the good old Windows API Code Pack to host an Explorer view inside my WinForms application, I want to programmatically force a large thumbnail view (Windows 8) like this:
(Large thumbnails, option checked)
Unfortunately, no matter which parameter from the FOLDERVIEWMODE
enumeration I pass to the IFolderView::SetCurrentViewMode
method, all I can achieve is this:
(Small thumbnails, option not checked)
Therefore my question:
Which method(s) could I possibly use to always force the large thumbnails mode in my hosted Explorer browser control?
Comes out that on my system the solution was to apply the following settings:
(With the Windows API Code Pack wrappers, I had to do two function calls; in real-life, one call to the IFolderView2::SetViewModeAndIconSize
method would be sufficient).
After setting these values, the checkbox in my 2nd screenshot automatically was checked.
I'll assume that this may behave different on different systems. I'll still have to do some testing on this.