[BROWSEUI] GetControlWindow must support FCW_TREE for DefView usage (#6781)

Support GetControlWindow, ShowControlWindow and IsControlWindowShown for TREE and STATUS in the Shell Browser so DefView can set CMF_EXPLORE correctly.
This commit is contained in:
Whindmar Saksit 2024-05-09 18:56:19 +02:00 committed by GitHub
parent 190b3da95d
commit 9e8214fa13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 69 additions and 6 deletions

View file

@ -58,6 +58,31 @@ struct persistState
ULONG pidlSize;
};
/*****************************************************************************
* CGID_Explorer (IShellBrowser OLECMD IDs)
*/
#define SBCMDID_EXPLORERBARFOLDERS 35 // Query/Toggle
#define SBCMDID_MIXEDZONE 39
#define SBCMDID_ONVIEWMOVETOTOP 60
//SBCMDID_ENABLESHOWTREE ?
//SBCMDID_SHOWCONTROL ?
//SBCMDID_CANCELNAVIGATION ?
//SBCMDID_MAYSAVECHANGES ?
//SBCMDID_SETHLINKFRAME ?
//SBCMDID_ENABLESTOP ?
//SBCMDID_SELECTHISTPIDL ?
//SBCMDID_GETPANE ? // This is in the official SDK but only the panes are defined
#define PANE_NONE ((DWORD)-1)
#define PANE_ZONE 1
#define PANE_OFFLINE 2
#define PANE_PRINTER 3
#define PANE_SSL 4
#define PANE_NAVIGATION 5
#define PANE_PROGRESS 6
#if (_WIN32_IE >= _WIN32_IE_IE60)
#define PANE_PRIVACY 7
#endif
/*****************************************************************************
* IInitializeObject interface
*/