From 6599f573ca087d81a2797666d46f2d4e323b6b99 Mon Sep 17 00:00:00 2001 From: Owen Rudge Date: Tue, 22 Jul 2008 17:31:14 +0100 Subject: [PATCH] shell32: Add About dialog to Control Panel. --- dlls/shell32/control.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dlls/shell32/control.c b/dlls/shell32/control.c index 13fefaa5028..ca38edbbe51 100644 --- a/dlls/shell32/control.c +++ b/dlls/shell32/control.c @@ -360,6 +360,17 @@ static LRESULT WINAPI Control_WndProc(HWND hWnd, UINT wMsg, SendMessageW(hWnd, WM_CLOSE, 0, 0); return 0; + case IDM_CPANEL_ABOUT: + { + WCHAR appName[MAX_STRING_LEN]; + + LoadStringW(shell32_hInstance, IDS_CPANEL_TITLE, appName, + sizeof(appName) / sizeof(appName[0])); + ShellAboutW(hWnd, appName, NULL, NULL); + + return 0; + } + case FCIDM_SHVIEW_BIGICON: case FCIDM_SHVIEW_SMALLICON: case FCIDM_SHVIEW_LISTVIEW: