According to the question, you need to wait for changes using SHCNF_FLUSH.
IShellBrowser::BrowseObject browsing complete notify
thexujie
1
Reputation point
I'm using IShellBrowser::BrowseObject to navigate a shell view to another folder. and then, I want to use IShellView::SelectItem to select one file in the folder.
But I found IShellView::SelectItem will failed if I call this API immediately after IShellBrowser::BrowseObject.
Currently I start a timer to excute SelectItem until it success.
Do we have some reasonable way to do this?
Windows development | Windows API - Win32
1 answer
Sort by: Most helpful
-
Xiaopo Yang - MSFT 12,736 Reputation points Microsoft External Staff
2021-09-01T08:30:30.497+00:00