IExplorerBrowser FVO_CUSTOMORDERING not persistent

  • Thread starter Thread starter Peuquet
  • Start date Start date
P

Peuquet

Guest
I'm using the IExplorerBrowser interface. I set up a property bag (IExplorerbrowser::SetPropertyBag). Implementing the IExplorerBrowserEvents interface, handling OnViewCreated, I'm retrieving the IFolderViewOptions interface from my Explorerbrowser instance. I then set up FVO_CUSTOMORDER. So far, so good, I can order freely the elements in my view window. If I navigate, and come back to a folder freely ordered, the elements are sorted by name not freely anymore. This was not the case with the same code running under Windows 7 (Windows 8 has not been tested). I checked the folder view options I'm retrieving handling OnViewCreated. If running the same session, I see FVO_CUSTOMORDER set although the view is sorted by name. If I'm running a new session of my piece of software, I get FVO_DEFAULT.

Another issue which might be related to this one is once I have instanciated the first time my ExplorerBrowser instance and navigated to a first folder from the desktop (initial folder), the custome ordeor option is not applied although set up while handling OnViewCreated. If I navigate back to the same folder during the session, the custom order option is then appllied (but still not persistent).

Continue reading...
 
Back
Top