[SHELL32] Modify context menu to include Align To Grid, and remove Line Up Icons

Implement support for using Align To Grid, which itself simply sets the LVS_EX_SNAPTOGRID extended style of the list view control
This commit is contained in:
Charles Ambrye 2020-04-19 19:49:38 -07:00 committed by Giannis Adamopoulos
parent 733a32dade
commit c82ba3485e
38 changed files with 97 additions and 71 deletions

View file

@ -116,6 +116,7 @@ class CDefView :
HRESULT _MergeToolbar();
BOOL _Sort();
HRESULT _DoFolderViewCB(UINT uMsg, WPARAM wParam, LPARAM lParam);
HRESULT _GetSnapToGrid();
public:
CDefView();
@ -571,6 +572,9 @@ BOOL CDefView::CreateList()
if (m_FolderSettings.fFlags & FWF_AUTOARRANGE)
dwStyle |= LVS_AUTOARRANGE;
if (m_FolderSettings.fFlags & FWF_SNAPTOGRID)
dwExStyle |= LVS_EX_SNAPTOGRID;
if (m_FolderSettings.fFlags & FWF_DESKTOP)
m_FolderSettings.fFlags |= FWF_NOCLIENTEDGE | FWF_NOSCROLL;
@ -1311,13 +1315,20 @@ HRESULT CDefView::FillArrangeAsMenu(HMENU hmenuArrange)
if (m_FolderSettings.ViewMode == FVM_DETAILS || m_FolderSettings.ViewMode == FVM_LIST)
{
EnableMenuItem(hmenuArrange, FCIDM_SHVIEW_AUTOARRANGE, MF_BYCOMMAND | MF_GRAYED);
EnableMenuItem(hmenuArrange, FCIDM_SHVIEW_ALIGNTOGRID, MF_BYCOMMAND | MF_GRAYED);
}
else
{
EnableMenuItem(hmenuArrange, FCIDM_SHVIEW_AUTOARRANGE, MF_BYCOMMAND);
EnableMenuItem(hmenuArrange, FCIDM_SHVIEW_AUTOARRANGE, MF_BYCOMMAND);
EnableMenuItem(hmenuArrange, FCIDM_SHVIEW_ALIGNTOGRID, MF_BYCOMMAND);
if (GetAutoArrange() == S_OK)
CheckMenuItem(hmenuArrange, FCIDM_SHVIEW_AUTOARRANGE, MF_CHECKED);
if (_GetSnapToGrid() == S_OK)
CheckMenuItem(hmenuArrange, FCIDM_SHVIEW_ALIGNTOGRID, MF_CHECKED);
else
CheckMenuItem(hmenuArrange, FCIDM_SHVIEW_ALIGNTOGRID, MF_UNCHECKED);
}
@ -1770,6 +1781,12 @@ LRESULT CDefView::OnCommand(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHand
case FCIDM_SHVIEW_SNAPTOGRID:
m_ListView.Arrange(LVA_SNAPTOGRID);
break;
case FCIDM_SHVIEW_ALIGNTOGRID:
if (_GetSnapToGrid() == S_OK)
m_ListView.SetExtendedListViewStyle(0, LVS_EX_SNAPTOGRID);
else
ArrangeGrid();
break;
case FCIDM_SHVIEW_AUTOARRANGE:
if (GetAutoArrange() == S_OK)
m_ListView.ModifyStyle(LVS_AUTOARRANGE, 0);
@ -2729,6 +2746,12 @@ HRESULT STDMETHODCALLTYPE CDefView::GetAutoArrange()
return ((m_ListView.GetStyle() & LVS_AUTOARRANGE) ? S_OK : S_FALSE);
}
HRESULT CDefView::_GetSnapToGrid()
{
DWORD dwExStyle = (DWORD)m_ListView.SendMessage(LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0);
return ((dwExStyle & LVS_EX_SNAPTOGRID) ? S_OK : S_FALSE);
}
HRESULT STDMETHODCALLTYPE CDefView::SelectItem(int iItem, DWORD dwFlags)
{
LVITEMW lvItem;
@ -2905,8 +2928,8 @@ HRESULT STDMETHODCALLTYPE CDefView::GetArrangeParam(LPARAM *sort)
HRESULT STDMETHODCALLTYPE CDefView::ArrangeGrid()
{
FIXME("(%p) stub\n", this);
return E_NOTIMPL;
m_ListView.SetExtendedListViewStyle(LVS_EX_SNAPTOGRID, LVS_EX_SNAPTOGRID);
return S_OK;
}
HRESULT STDMETHODCALLTYPE CDefView::AutoArrange()

View file

@ -263,6 +263,7 @@ CDefViewBckgrndMenu::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
case FCIDM_SHVIEW_AUTOARRANGE:
case FCIDM_SHVIEW_SNAPTOGRID:
case FCIDM_SHVIEW_REFRESH:
case FCIDM_SHVIEW_ALIGNTOGRID:
if (!m_site)
return E_FAIL;

View file

@ -12,6 +12,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Самоподреждане", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -32,9 +33,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Самоподреждане", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Подравнени значета", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Опресняване", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Поставяне", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Line up Icons", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Refresh", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Paste", FCIDM_SHVIEW_INSERT

View file

@ -17,6 +17,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Rovnat automaticky", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -37,9 +38,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Rovnat automaticky", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Zarovnat ikony", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "A&ktualizovat", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "V&ložit", FCIDM_SHVIEW_INSERT

View file

@ -17,6 +17,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Arrangere Automatisk", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -37,9 +38,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Arrangere Automatisk", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Line up Ikoner", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Opfrisk", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Indsæt", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Automatisch anordnen", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Automatisch anordnen", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Icons anordnen", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Aktualisieren", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Einfügen", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Αυτόματη τακτοποίηση", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Αυτόματη τακτοποίηση", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Ευθυγράμμιση εικονιδίων", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Ανανέωση", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Επικόληση", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Line up Icons", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Refresh", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Paste", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Line up Icons", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Refresh", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Paste", FCIDM_SHVIEW_INSERT

View file

@ -20,6 +20,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Ordenar automáticamente", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -40,9 +41,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Ordenar automáticamente", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Alinear iconos", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Actualizar", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Pegar", FCIDM_SHVIEW_INSERT

View file

@ -18,6 +18,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Automaatkorralda", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -38,9 +39,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Automaatkorralda", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Joonda koordinaatvõrguga", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Värskenda", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Kleebi", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Järjestä &Automaattisesti", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Järjestä &Automaattisesti", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Järjestä kuvakkeet riviin", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Päivitä", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Liitä", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "T&ri automatique", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Aligner sur la &grille", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "T&ri automatique", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Aligner sur la &grille", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Aligner les icônes", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Rafraîchir", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Coller", FCIDM_SHVIEW_INSERT

View file

@ -13,6 +13,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "סידור אוטומטי", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -33,9 +34,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "סידור אוטומטי", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "סדר סמלים", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "רענן", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "הדבק", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&ऑटो अरेंज", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&ऑटो अरेंज", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "लाइन अप आइकन", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "रिफ़्रिश", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "पेस्ट", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Automatikus elrendezés", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Automatikus elrendezés", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Ikonok igazítása", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Frissítés", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Beillesztés", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Otomatis &Urutkan", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Otomatis &Urutkan", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Bariskan Ikon", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Segarkan", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Tempel", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Disponi Automaticamente", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Disponi Automaticamente", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Allinea Icone", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Aggiorna", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Incolla", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "アイコンの自動整列(&A)", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "アイコンの自動整列(&A)", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "等間隔に整列", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "最新の情報に更新", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "貼り付け", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Line up Icons", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Refresh", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Paste", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Line up Icons", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Refresh", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Paste", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Ordne &automatisk", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Ordne &automatisk", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Still opp ikoner", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Oppdater", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Lim inn", FCIDM_SHVIEW_INSERT

View file

@ -17,6 +17,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Autorozmieszczanie", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "&Wyrównaj do siatki", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -37,9 +38,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Autorozmieszczanie", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "&Wyrównaj do siatki", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "&Wyrównaj ikony", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Odśwież", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "W&klej", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Auto organi&zar", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Auto organi&zar", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Alin&har ícones", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Atualizar", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Co&lar", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Auto organi&zar", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Auto organi&zar", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Alin&har ícones", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Actualizar", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Co&lar", FCIDM_SHVIEW_INSERT

View file

@ -13,6 +13,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Criteriu &automat", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -33,9 +34,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Criteriu &automat", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Aranjea&ză în grilă", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Împ&rospătează", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Lipește", FCIDM_SHVIEW_INSERT

View file

@ -18,6 +18,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Автоматически", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -38,9 +39,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Автоматически", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "В&ыровнять значки", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "О&бновить", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Вставить", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Usporiadať &automaticky", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Usporiadať &automaticky", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Zarovnať ikony", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Obnoviť", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Prilepiť", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Line up Icons", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Refresh", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Paste", FCIDM_SHVIEW_INSERT

View file

@ -15,6 +15,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Organizo &Auto", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -35,9 +36,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Organizo &Auto", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Rreshto Ikonat", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Riresko", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Ngjit", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Ordna automatiskt", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Ordna automatiskt", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Rada upp ikoner", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Uppdatera", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Klistra in", FCIDM_SHVIEW_INSERT

View file

@ -13,6 +13,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Kendiliğinden Düzenle", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -33,9 +34,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Kendiliğinden Düzenle", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "&Kılavuza Hizâla", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&Yenile", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Y&apıştır", FCIDM_SHVIEW_INSERT

View file

@ -11,6 +11,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&автоматично", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -31,9 +32,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "&автоматично", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "Вирівняти значки", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Оновити", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "Вставити", FCIDM_SHVIEW_INSERT

View file

@ -21,6 +21,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "自动排列(&D)", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -41,9 +42,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "自动排列(&D)", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "对齐图标", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "刷新", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "粘贴", FCIDM_SHVIEW_INSERT

View file

@ -20,6 +20,7 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "自動排列(&A)", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
END
@ -40,9 +41,8 @@ BEGIN
BEGIN
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "自動排列(&A)", FCIDM_SHVIEW_AUTOARRANGE
MENUITEM "Align to &Grid", FCIDM_SHVIEW_ALIGNTOGRID
END
MENUITEM "對齊圖示", FCIDM_SHVIEW_SNAPTOGRID
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "重新整理", FCIDM_SHVIEW_REFRESH
MENUITEM "", -1, MFT_SEPARATOR
MENUITEM "貼上", FCIDM_SHVIEW_INSERT

View file

@ -765,6 +765,7 @@
/* 0x7030-0x703f are used by the shellbrowser */
#define FCIDM_SHVIEW_AUTOARRANGE 0x7031
#define FCIDM_SHVIEW_SNAPTOGRID 0x7032
#define FCIDM_SHVIEW_ALIGNTOGRID 0x7033
#define FCIDM_SHVIEW_HELP 0x7041
#define FCIDM_SHVIEW_RENAME 0x7050

View file

@ -526,6 +526,7 @@ typedef struct
/* 0x7030-0x703f are used by the shellbrowser */
#define FCIDM_SHVIEW_AUTOARRANGE 0x7031
#define FCIDM_SHVIEW_SNAPTOGRID 0x7032
#define FCIDM_SHVIEW_ALIGNTOGRID 0x7033
#define FCIDM_SHVIEW_HELP 0x7041
#define FCIDM_SHVIEW_RENAME 0x7050