mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[SHELL32] Implement the Select verb in CommDlgBrowser (#7225)
- Use Select instead of Open default menu item. - Support CDB2GVF_NOSELECTVERB, CDB2GVF_NOINCLUDEITEM and CDB2GVF_SHOWALLFILES flags.
This commit is contained in:
parent
7d532f8792
commit
d5f6b8c50b
40 changed files with 342 additions and 12 deletions
|
@ -48,8 +48,9 @@ enum {
|
||||||
DEFVIEW_ARRANGESORT_MAX = DEFVIEW_ARRANGESORT_MAXENUM + 1, // Reserve one extra for the current sort-by column
|
DEFVIEW_ARRANGESORT_MAX = DEFVIEW_ARRANGESORT_MAXENUM + 1, // Reserve one extra for the current sort-by column
|
||||||
DVIDM_ARRANGESORT_LAST = FCIDM_SHVIEWLAST,
|
DVIDM_ARRANGESORT_LAST = FCIDM_SHVIEWLAST,
|
||||||
DVIDM_ARRANGESORT_FIRST = DVIDM_ARRANGESORT_LAST - (DEFVIEW_ARRANGESORT_MAX - 1),
|
DVIDM_ARRANGESORT_FIRST = DVIDM_ARRANGESORT_LAST - (DEFVIEW_ARRANGESORT_MAX - 1),
|
||||||
|
DVIDM_COMMDLG_SELECT = DVIDM_ARRANGESORT_FIRST - 1,
|
||||||
|
|
||||||
DVIDM_CONTEXTMENU_LAST = DVIDM_ARRANGESORT_FIRST - 1,
|
DVIDM_CONTEXTMENU_LAST = DVIDM_COMMDLG_SELECT - 1,
|
||||||
// FIXME: FCIDM_SHVIEWFIRST is 0 and using that with QueryContextMenu is a
|
// FIXME: FCIDM_SHVIEWFIRST is 0 and using that with QueryContextMenu is a
|
||||||
// bad idea because it hides bugs related to the ids in ici.lpVerb.
|
// bad idea because it hides bugs related to the ids in ici.lpVerb.
|
||||||
// CONTEXT_MENU_BASE_ID acknowledges this but failed to apply the fix everywhere.
|
// CONTEXT_MENU_BASE_ID acknowledges this but failed to apply the fix everywhere.
|
||||||
|
@ -336,6 +337,18 @@ public:
|
||||||
HRESULT SaveViewState(IStream *pStream);
|
HRESULT SaveViewState(IStream *pStream);
|
||||||
void UpdateFolderViewFlags();
|
void UpdateFolderViewFlags();
|
||||||
|
|
||||||
|
DWORD GetCommDlgViewFlags()
|
||||||
|
{
|
||||||
|
CComPtr<ICommDlgBrowser2> pcdb2;
|
||||||
|
if (m_pCommDlgBrowser && SUCCEEDED(m_pCommDlgBrowser->QueryInterface(IID_PPV_ARG(ICommDlgBrowser2, &pcdb2))))
|
||||||
|
{
|
||||||
|
DWORD flags;
|
||||||
|
if (SUCCEEDED(pcdb2->GetViewFlags(&flags)))
|
||||||
|
return flags;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
// *** IOleWindow methods ***
|
// *** IOleWindow methods ***
|
||||||
STDMETHOD(GetWindow)(HWND *lphwnd) override;
|
STDMETHOD(GetWindow)(HWND *lphwnd) override;
|
||||||
STDMETHOD(ContextSensitiveHelp)(BOOL fEnterMode) override;
|
STDMETHOD(ContextSensitiveHelp)(BOOL fEnterMode) override;
|
||||||
|
@ -624,7 +637,7 @@ HRESULT CDefView::IncludeObject(PCUITEMID_CHILD pidl)
|
||||||
{
|
{
|
||||||
HRESULT ret = S_OK;
|
HRESULT ret = S_OK;
|
||||||
|
|
||||||
if (m_pCommDlgBrowser.p != NULL)
|
if (m_pCommDlgBrowser && !(GetCommDlgViewFlags() & CDB2GVF_NOINCLUDEITEM))
|
||||||
{
|
{
|
||||||
TRACE("ICommDlgBrowser::IncludeObject pidl=%p\n", pidl);
|
TRACE("ICommDlgBrowser::IncludeObject pidl=%p\n", pidl);
|
||||||
ret = m_pCommDlgBrowser->IncludeObject(this, pidl);
|
ret = m_pCommDlgBrowser->IncludeObject(this, pidl);
|
||||||
|
@ -1477,6 +1490,9 @@ HRESULT CDefView::FillList(BOOL IsRefreshCommand)
|
||||||
|
|
||||||
SHELLSTATE shellstate;
|
SHELLSTATE shellstate;
|
||||||
SHGetSetSettings(&shellstate, SSF_SHOWALLOBJECTS | SSF_SHOWSUPERHIDDEN, FALSE);
|
SHGetSetSettings(&shellstate, SSF_SHOWALLOBJECTS | SSF_SHOWSUPERHIDDEN, FALSE);
|
||||||
|
if (GetCommDlgViewFlags() & CDB2GVF_SHOWALLFILES)
|
||||||
|
shellstate.fShowAllObjects = shellstate.fShowSuperHidden = TRUE;
|
||||||
|
|
||||||
if (shellstate.fShowAllObjects)
|
if (shellstate.fShowAllObjects)
|
||||||
{
|
{
|
||||||
dFlags |= SHCONTF_INCLUDEHIDDEN;
|
dFlags |= SHCONTF_INCLUDEHIDDEN;
|
||||||
|
@ -2182,6 +2198,15 @@ LRESULT CDefView::OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &b
|
||||||
if (FAILED_UNEXPECTEDLY(hResult))
|
if (FAILED_UNEXPECTEDLY(hResult))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
if (m_pCommDlgBrowser && !(GetCommDlgViewFlags() & CDB2GVF_NOSELECTVERB))
|
||||||
|
{
|
||||||
|
HMENU hMenuSource = LoadMenuW(_AtlBaseModule.GetResourceInstance(), MAKEINTRESOURCEW(IDM_DVSELECT));
|
||||||
|
Shell_MergeMenus(m_hContextMenu, GetSubMenu(hMenuSource, 0), 0, DVIDM_COMMDLG_SELECT, 0xffff, MM_ADDSEPARATOR | MM_DONTREMOVESEPS);
|
||||||
|
DestroyMenu(hMenuSource);
|
||||||
|
SetMenuDefaultItem(m_hContextMenu, DVIDM_COMMDLG_SELECT, MF_BYCOMMAND);
|
||||||
|
// TODO: ICommDlgBrowser2::GetDefaultMenuText == S_OK
|
||||||
|
}
|
||||||
|
|
||||||
// There is no position requested, so try to find one
|
// There is no position requested, so try to find one
|
||||||
if (lParam == ~0)
|
if (lParam == ~0)
|
||||||
{
|
{
|
||||||
|
@ -2215,21 +2240,25 @@ LRESULT CDefView::OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &b
|
||||||
m_ListView.ClientToScreen(&pt);
|
m_ListView.ClientToScreen(&pt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CComPtr<ICommDlgBrowser2> pcdb2;
|
||||||
|
if (m_pCommDlgBrowser && SUCCEEDED(m_pCommDlgBrowser->QueryInterface(IID_PPV_ARG(ICommDlgBrowser2, &pcdb2))))
|
||||||
|
pcdb2->Notify(static_cast<IShellView*>(this), CDB2N_CONTEXTMENU_START);
|
||||||
|
|
||||||
// This runs the message loop, calling back to us with f.e. WM_INITPOPUP (hence why m_hContextMenu and m_pCM exist)
|
// This runs the message loop, calling back to us with f.e. WM_INITPOPUP (hence why m_hContextMenu and m_pCM exist)
|
||||||
uCommand = TrackPopupMenu(m_hContextMenu,
|
uCommand = TrackPopupMenu(m_hContextMenu,
|
||||||
TPM_LEFTALIGN | TPM_RETURNCMD | TPM_LEFTBUTTON | TPM_RIGHTBUTTON,
|
TPM_LEFTALIGN | TPM_RETURNCMD | TPM_LEFTBUTTON | TPM_RIGHTBUTTON,
|
||||||
pt.x, pt.y, 0, m_hWnd, NULL);
|
pt.x, pt.y, 0, m_hWnd, NULL);
|
||||||
if (uCommand == 0)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
if (uCommand >= DVIDM_ARRANGESORT_FIRST && uCommand <= DVIDM_ARRANGESORT_LAST)
|
if (uCommand >= DVIDM_ARRANGESORT_FIRST && uCommand <= DVIDM_ARRANGESORT_LAST)
|
||||||
return SendMessage(WM_COMMAND, uCommand, 0);
|
{
|
||||||
|
SendMessage(WM_COMMAND, uCommand, 0);
|
||||||
if (uCommand == FCIDM_SHVIEW_OPEN && OnDefaultCommand() == S_OK)
|
}
|
||||||
return 0;
|
else if (uCommand != 0 && !(uCommand == DVIDM_COMMDLG_SELECT && OnDefaultCommand() == S_OK))
|
||||||
|
{
|
||||||
InvokeContextMenuCommand(m_pCM, MAKEINTRESOURCEA(uCommand - CONTEXT_MENU_BASE_ID), &pt);
|
InvokeContextMenuCommand(m_pCM, MAKEINTRESOURCEA(uCommand - CONTEXT_MENU_BASE_ID), &pt);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (pcdb2)
|
||||||
|
pcdb2->Notify(static_cast<IShellView*>(this), CDB2N_CONTEXTMENU_DONE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -876,7 +876,7 @@ CDefaultContextMenu::QueryContextMenu(
|
||||||
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, cIds);
|
return MAKE_HRESULT(SEVERITY_SUCCESS, 0, cIds);
|
||||||
|
|
||||||
/* Add the default part of the menu */
|
/* Add the default part of the menu */
|
||||||
HMENU hmenuDefault = LoadMenu(_AtlBaseModule.GetResourceInstance(), L"MENU_SHV_FILE");
|
HMENU hmenuDefault = LoadMenuW(_AtlBaseModule.GetResourceInstance(), L"MENU_SHV_FILE");
|
||||||
|
|
||||||
/* Remove uneeded entries */
|
/* Remove uneeded entries */
|
||||||
if (!(rfg & SFGAO_CANMOVE))
|
if (!(rfg & SFGAO_CANMOVE))
|
||||||
|
@ -1260,6 +1260,13 @@ CDefaultContextMenu::BrowserFlagsFromVerb(LPCMINVOKECOMMANDINFOEX lpcmi, PStatic
|
||||||
else
|
else
|
||||||
FlagsName = L"BrowserFlags";
|
FlagsName = L"BrowserFlags";
|
||||||
|
|
||||||
|
CComPtr<ICommDlgBrowser> pcdb;
|
||||||
|
if (SUCCEEDED(psb->QueryInterface(IID_PPV_ARG(ICommDlgBrowser, &pcdb))))
|
||||||
|
{
|
||||||
|
if (LOBYTE(GetVersion()) < 6 || FlagsName[0] == 'E')
|
||||||
|
return 0; // Don't browse in-place
|
||||||
|
}
|
||||||
|
|
||||||
/* Try to get the flag from the verb */
|
/* Try to get the flag from the verb */
|
||||||
hr = StringCbPrintfW(wszKey, sizeof(wszKey), L"shell\\%s", pEntry->Verb.GetString());
|
hr = StringCbPrintfW(wszKey, sizeof(wszKey), L"shell\\%s", pEntry->Verb.GetString());
|
||||||
if (FAILED_UNEXPECTEDLY(hr))
|
if (FAILED_UNEXPECTEDLY(hr))
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Търсене на папка"
|
CAPTION "Търсене на папка"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Browse for Folder"
|
CAPTION "Browse for Folder"
|
||||||
|
|
|
@ -96,6 +96,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Procházet..."
|
CAPTION "Procházet..."
|
||||||
|
|
|
@ -95,6 +95,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Søg efter Mappe"
|
CAPTION "Søg efter Mappe"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Verzeichnis auswählen"
|
CAPTION "Verzeichnis auswählen"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Αναζήτηση φακέλου"
|
CAPTION "Αναζήτηση φακέλου"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Browse for Folder"
|
CAPTION "Browse for Folder"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Browse for Folder"
|
CAPTION "Browse for Folder"
|
||||||
|
|
|
@ -97,6 +97,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Explorar carpeta"
|
CAPTION "Explorar carpeta"
|
||||||
|
|
|
@ -95,6 +95,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Vali kaust"
|
CAPTION "Vali kaust"
|
||||||
|
|
|
@ -95,6 +95,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Karpeta esploratu"
|
CAPTION "Karpeta esploratu"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Valitse Kansio"
|
CAPTION "Valitse Kansio"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Sé&lectionner", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Parcourir"
|
CAPTION "Parcourir"
|
||||||
|
|
|
@ -95,6 +95,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "בחירת תיקיה"
|
CAPTION "בחירת תיקיה"
|
||||||
|
|
|
@ -95,6 +95,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "फोल्डर खोंजे"
|
CAPTION "फोल्डर खोंजे"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Mappák böngészése"
|
CAPTION "Mappák böngészése"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Jelajah Folder"
|
CAPTION "Jelajah Folder"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Sfoglia Cartella"
|
CAPTION "Sfoglia Cartella"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "フォルダの参照"
|
CAPTION "フォルダの参照"
|
||||||
|
|
|
@ -95,6 +95,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "폴더 찾아보기"
|
CAPTION "폴더 찾아보기"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Browse for Folder"
|
CAPTION "Browse for Folder"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Bla etter mappe"
|
CAPTION "Bla etter mappe"
|
||||||
|
|
|
@ -97,6 +97,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Wybierz folder"
|
CAPTION "Wybierz folder"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Procurar pasta"
|
CAPTION "Procurar pasta"
|
||||||
|
|
|
@ -98,6 +98,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Procurar pasta"
|
CAPTION "Procurar pasta"
|
||||||
|
|
|
@ -96,6 +96,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Specificare folder"
|
CAPTION "Specificare folder"
|
||||||
|
|
|
@ -97,6 +97,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Обзор"
|
CAPTION "Обзор"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Browse for Folder"
|
CAPTION "Browse for Folder"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Browse for Folder"
|
CAPTION "Browse for Folder"
|
||||||
|
|
|
@ -95,6 +95,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Shfleto për Dosje"
|
CAPTION "Shfleto për Dosje"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Bläddra efter mapp"
|
CAPTION "Bläddra efter mapp"
|
||||||
|
|
|
@ -97,6 +97,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Dizin İçin Göz At"
|
CAPTION "Dizin İçin Göz At"
|
||||||
|
|
|
@ -88,6 +88,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Огляд папок"
|
CAPTION "Огляд папок"
|
||||||
|
|
|
@ -98,6 +98,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "浏览文件夹"
|
CAPTION "浏览文件夹"
|
||||||
|
|
|
@ -96,6 +96,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "瀏覽資料夾"
|
CAPTION "瀏覽資料夾"
|
||||||
|
|
|
@ -97,6 +97,14 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDM_DVSELECT MENU
|
||||||
|
BEGIN
|
||||||
|
POPUP ""
|
||||||
|
BEGIN
|
||||||
|
MENUITEM "Se&lect", 0
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
IDD_BROWSE_FOR_FOLDER DIALOGEX 15, 40, 188, 192
|
||||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "瀏覽資料夾"
|
CAPTION "瀏覽資料夾"
|
||||||
|
|
|
@ -878,6 +878,7 @@
|
||||||
#define IDM_COPYHERE 0x7
|
#define IDM_COPYHERE 0x7
|
||||||
#define IDM_MOVEHERE 0x8
|
#define IDM_MOVEHERE 0x8
|
||||||
#define IDM_LINKHERE 0xB
|
#define IDM_LINKHERE 0xB
|
||||||
|
#define IDM_DVSELECT 0x104
|
||||||
|
|
||||||
#define IDM_MYDOCUMENTS 516
|
#define IDM_MYDOCUMENTS 516
|
||||||
#define IDM_MYPICTURES 518
|
#define IDM_MYPICTURES 518
|
||||||
|
|
|
@ -1442,6 +1442,11 @@ cpp_quote("#define CDBOSC_STATECHANGE 0x00000004")
|
||||||
]
|
]
|
||||||
interface ICommDlgBrowser2 : ICommDlgBrowser
|
interface ICommDlgBrowser2 : ICommDlgBrowser
|
||||||
{
|
{
|
||||||
|
cpp_quote("#define CDB2N_CONTEXTMENU_DONE 1")
|
||||||
|
cpp_quote("#define CDB2N_CONTEXTMENU_START 2")
|
||||||
|
cpp_quote("#define CDB2GVF_SHOWALLFILES 0x00000001")
|
||||||
|
cpp_quote("#define CDB2GVF_NOSELECTVERB 0x00000008")
|
||||||
|
cpp_quote("#define CDB2GVF_NOINCLUDEITEM 0x00000010 /* IncludeObject should not be called */")
|
||||||
|
|
||||||
HRESULT Notify(
|
HRESULT Notify(
|
||||||
[in] IShellView *ppshv,
|
[in] IShellView *ppshv,
|
||||||
|
|
Loading…
Reference in a new issue