shell32: Add menu bar to Control Panel.

This commit is contained in:
Owen Rudge 2008-07-22 17:31:03 +01:00 committed by Alexandre Julliard
parent 08b1bdb8c0
commit 95c6d1d864
31 changed files with 735 additions and 0 deletions

View File

@ -1,6 +1,7 @@
/* Control Panel management
*
* Copyright 2001 Eric Pouech
* Copyright 2008 Owen Rudge
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -166,10 +167,58 @@ CPlApplet* Control_LoadApplet(HWND hWnd, LPCWSTR cmd, CPanel* panel)
static void Control_WndProc_Create(HWND hWnd, const CREATESTRUCTW* cs)
{
CPanel* panel = (CPanel*)cs->lpCreateParams;
HMENU hMenu, hSubMenu;
CPlApplet* applet;
MENUITEMINFOW mii;
int menucount, i;
CPlItem *item;
SetWindowLongPtrW(hWnd, 0, (LONG_PTR)panel);
panel->status = 0;
panel->hWnd = hWnd;
hMenu = LoadMenuW(shell32_hInstance, MAKEINTRESOURCEW(MENU_CPANEL));
/* insert menu items for applets */
hSubMenu = GetSubMenu(hMenu, 0);
menucount = 0;
for (applet = panel->first; applet; applet = applet->next) {
for (i = 0; i < applet->count; i++) {
if (!applet->info[i].dwSize)
continue;
/* set up a CPlItem for this particular subprogram */
item = HeapAlloc(GetProcessHeap(), 0, sizeof(CPlItem));
if (!item)
continue;
item->applet = (CPlApplet *) applet;
item->id = i;
mii.cbSize = sizeof(MENUITEMINFOW);
mii.fMask = MIIM_ID | MIIM_STRING | MIIM_DATA;
mii.dwTypeData = applet->info[i].szName;
mii.cch = sizeof(applet->info[i].szName) / sizeof(applet->info[i].szName[0]);
mii.wID = IDM_CPANEL_APPLET_BASE + menucount;
mii.dwItemData = (DWORD) item;
if (InsertMenuItemW(hSubMenu, menucount, TRUE, &mii)) {
DrawMenuBar(hWnd);
menucount++;
}
}
}
panel->total_subprogs = menucount;
/* check the "large items" icon in the View menu */
hSubMenu = GetSubMenu(hMenu, 1);
CheckMenuRadioItem(hSubMenu, FCIDM_SHVIEW_BIGICON, FCIDM_SHVIEW_REPORTVIEW,
FCIDM_SHVIEW_BIGICON, MF_BYCOMMAND);
SetMenu(hWnd, hMenu);
}
#define XICON 32
@ -255,6 +304,36 @@ static LRESULT Control_WndProc_LButton(CPanel* panel, LPARAM lParam, BOOL up)
return 0;
}
static void Control_FreeCPlItems(HWND hWnd, CPanel *panel)
{
HMENU hMenu, hSubMenu;
MENUITEMINFOW mii;
int i;
/* get the File menu */
hMenu = GetMenu(hWnd);
if (!hMenu)
return;
hSubMenu = GetSubMenu(hMenu, 0);
if (!hSubMenu)
return;
/* loop and free the item data */
for (i = IDM_CPANEL_APPLET_BASE; i <= IDM_CPANEL_APPLET_BASE + panel->total_subprogs; i++)
{
mii.cbSize = sizeof(MENUITEMINFOW);
mii.fMask = MIIM_DATA;
if (!GetMenuItemInfoW(hSubMenu, i, FALSE, &mii))
continue;
HeapFree(GetProcessHeap(), 0, (LPVOID) mii.dwItemData);
}
}
static LRESULT WINAPI Control_WndProc(HWND hWnd, UINT wMsg,
WPARAM lParam1, LPARAM lParam2)
{
@ -271,6 +350,7 @@ static LRESULT WINAPI Control_WndProc(HWND hWnd, UINT wMsg,
while (applet)
applet = Control_UnloadApplet(applet);
}
Control_FreeCPlItems(hWnd, panel);
PostQuitMessage(0);
break;
case WM_PAINT:

View File

@ -1,6 +1,7 @@
/* Control Panel management
*
* Copyright 2001 Eric Pouech
* Copyright 2008 Owen Rudge
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -38,8 +39,14 @@ typedef struct CPanel {
unsigned status;
CPlApplet* clkApplet;
unsigned clkSP;
unsigned total_subprogs;
} CPanel;
/* structure to reference an individual control panel item */
typedef struct CPlItem {
CPlApplet *applet;
unsigned id;
} CPlItem;
CPlApplet* Control_LoadApplet(HWND hWnd, LPCWSTR cmd, CPanel* panel);
CPlApplet* Control_UnloadApplet(CPlApplet* applet);

View File

@ -90,6 +90,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Ãîëåìè èêîíè", FCIDM_SHVIEW_BIGICON
MENUITEM "&Ìàëêè èêîíè", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Ñïèñúê", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Ïîäðîáíîñòè", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Èçáîð íà ïàïêà"

View File

@ -40,6 +40,29 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Quant a %s"

View File

@ -41,6 +41,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "¹ØÓÚ %s"

View File

@ -94,6 +94,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Vedle sebe", FCIDM_SHVIEW_BIGICON
MENUITEM "&Ikony", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Seznam", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Podrobnosti", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Procházet..."

View File

@ -91,6 +91,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Store Ikoner", FCIDM_SHVIEW_BIGICON
MENUITEM "S&må Ikoner", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Liste", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Detaljer", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Vælg folder"

View File

@ -91,6 +91,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Große Symbole", FCIDM_SHVIEW_BIGICON
MENUITEM "&Kleine Symbole", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Liste", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Verzeichnis auswählen"

View File

@ -90,6 +90,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Browse for Folder"

View File

@ -93,6 +93,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Grandaj Ikonoj", FCIDM_SHVIEW_BIGICON
MENUITEM "Malgrandaj Ikonoj", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Listo", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Detale", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Foliu Dosierujon"

View File

@ -91,6 +91,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Iconos &grandes", FCIDM_SHVIEW_BIGICON
MENUITEM "Iconos &pequeños", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Lista", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Detalles", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Explorar carpeta"

View File

@ -90,6 +90,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Suuret kuvakkeet", FCIDM_SHVIEW_BIGICON
MENUITEM "&Pienet kuvakkeet", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Lista", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Tiedot", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Valitse kansio"

View File

@ -96,6 +96,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Grandes icônes", FCIDM_SHVIEW_BIGICON
MENUITEM "&Petites icônes", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Liste", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Détails", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Parcourir les dossiers"

View File

@ -40,6 +40,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Névjegy: %s"

View File

@ -92,6 +92,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Icone &Grandi", FCIDM_SHVIEW_BIGICON
MENUITEM "Icone &Piccole", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Lista", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Dettagli", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Sfoglia Cartella"

View File

@ -84,6 +84,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "大きなアイコン(&G)", FCIDM_SHVIEW_BIGICON
MENUITEM "小さなアイコン(&M)", FCIDM_SHVIEW_SMALLICON
MENUITEM "一覧(&L)", FCIDM_SHVIEW_LISTVIEW
MENUITEM "詳細(&D)", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
STRINGTABLE
{
/* columns in the shellview */

View File

@ -91,6 +91,29 @@ MENUITEM "
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "奴 酒捞能(&G)", FCIDM_SHVIEW_BIGICON
MENUITEM "累篮 酒捞能(&M)", FCIDM_SHVIEW_SMALLICON
MENUITEM "格废(&L)", FCIDM_SHVIEW_LISTVIEW
MENUITEM "磊技洒(&D)", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Æú´õ Ž»ö"

View File

@ -92,6 +92,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Grote Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "&Kleine Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Lijst", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Bladeren naar Map"

View File

@ -90,6 +90,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Store ikoner", FCIDM_SHVIEW_BIGICON
MENUITEM "&Små ikoner", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Liste", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Detaljer", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Bla etter mappe"

View File

@ -91,6 +91,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Du¿e Ikony", FCIDM_SHVIEW_BIGICON
MENUITEM "&Ma³e Ikony", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Lista", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Szczegó³y", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Wybierz folder"

View File

@ -139,6 +139,53 @@ BEGIN
END
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Ícones &grandes", FCIDM_SHVIEW_BIGICON
MENUITEM "Ícones &pequenos", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Lista", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Detalhes", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Ícones &grandes", FCIDM_SHVIEW_BIGICON
MENUITEM "Ícones &pequenos", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Lista", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Detalhes", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN

View File

@ -93,6 +93,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Pictograme &mari", FCIDM_SHVIEW_BIGICON
MENUITEM "Pictograme m&ici", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Listă", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Detailii", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Selectare dosar"

View File

@ -91,6 +91,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Áîëüøèå çíà÷êè", FCIDM_SHVIEW_BIGICON
MENUITEM "&Ìåëêèå çíà÷êè", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Ñïèñîê", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Ïîäðîáíî", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Îáçîð"

View File

@ -92,6 +92,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Ve&like ikone", FCIDM_SHVIEW_BIGICON
MENUITEM "&Male ikone", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Seznam", FCIDM_SHVIEW_LISTVIEW
MENUITEM "Po&drobnosti", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Brskanje po mapah"

View File

@ -40,6 +40,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "O programe %s"

View File

@ -40,6 +40,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Om %s"

View File

@ -90,6 +90,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Bü&yük Simgeler", FCIDM_SHVIEW_BIGICON
MENUITEM "Kü&çük Simgeler", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Liste", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Ayrýntýlý", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Dizine Gözat"

View File

@ -90,6 +90,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Âåëèê³ ²êîíêè", FCIDM_SHVIEW_BIGICON
MENUITEM "&Ìàë³ ²êîíêè", FCIDM_SHVIEW_SMALLICON
MENUITEM "&Ñïèñîê", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Ïîäðîáèö³", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | DS_SETFONT | DS_3DLOOK
CAPTION "Îãëÿä äî òåêè"

View File

@ -45,6 +45,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Å dfait di %s"

View File

@ -41,6 +41,28 @@ BEGIN
END
END
MENU_CPANEL MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_CPANEL_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
END
POPUP "&Help"
BEGIN
MENUITEM "&About Control Panel...", IDM_CPANEL_ABOUT
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "êPì¶ %s"

View File

@ -109,6 +109,11 @@
#define MENU_SHV_FILE 144
#define MENU_CPANEL 200
#define IDM_CPANEL_EXIT 201
#define IDM_CPANEL_ABOUT 202
#define IDM_CPANEL_APPLET_BASE 210
/* Note: this string is referenced from the registry*/
#define IDS_RECYCLEBIN_FOLDER_NAME 8964