Antti Nivala
2006-12-13 10:31:38 UTC
The folder object of my NSE implements the IExplorerPaneVisibility interface
to give suggestions to the view about what panes are visible. Things are
working fine most of the time but I have some problems. The normal sequence
in panes control goes as follows:
- A pane queries an IFolderView interface pointer to the current view object
in the browser.
- IFolderView::GetFolder is called to get an IExplorerPaneVisibility
interface pointer to a folder object.
- The GetPaneState method of IExplorerPaneVisibility is called to determine
the state of the pane.
PROBLEMS:
1. My NSE does not want to show the Details pane. When the user goes from a
folder outside of my NSE to a folder of my NSE, my GetPaneState
implementation is not called for the Details pane (EP_DetailsPane), causing
the Details pane to be shown. It is only called for certain panes such as
EP_QueryPane and AdvQueryPane. However, when the previous folder view is
mine and the user continues to another folder inside my NSE, my GetPaneState
implementation is called for the Details pane and I can hide it. How can I
hide the Details pane in the first case, too?
2. There seems to be no way of hiding the Search Box pane (EP_QueryPane).
Specifying (EPS_DEFAULT_OFF | EPS_FORCE) in my GetPaneState implementation
has no effect. How can I hide the Search Box pane?
Antti
to give suggestions to the view about what panes are visible. Things are
working fine most of the time but I have some problems. The normal sequence
in panes control goes as follows:
- A pane queries an IFolderView interface pointer to the current view object
in the browser.
- IFolderView::GetFolder is called to get an IExplorerPaneVisibility
interface pointer to a folder object.
- The GetPaneState method of IExplorerPaneVisibility is called to determine
the state of the pane.
PROBLEMS:
1. My NSE does not want to show the Details pane. When the user goes from a
folder outside of my NSE to a folder of my NSE, my GetPaneState
implementation is not called for the Details pane (EP_DetailsPane), causing
the Details pane to be shown. It is only called for certain panes such as
EP_QueryPane and AdvQueryPane. However, when the previous folder view is
mine and the user continues to another folder inside my NSE, my GetPaneState
implementation is called for the Details pane and I can hide it. How can I
hide the Details pane in the first case, too?
2. There seems to be no way of hiding the Search Box pane (EP_QueryPane).
Specifying (EPS_DEFAULT_OFF | EPS_FORCE) in my GetPaneState implementation
has no effect. How can I hide the Search Box pane?
Antti