Owen Rudge : shell32: Add About dialog to Control Panel.

Alexandre Julliard julliard at winehq.org
Wed Jul 23 07:09:52 CDT 2008


Module: wine
Branch: master
Commit: 6599f573ca087d81a2797666d46f2d4e323b6b99
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6599f573ca087d81a2797666d46f2d4e323b6b99

Author: Owen Rudge <owen at owenrudge.net>
Date:   Tue Jul 22 17:31:14 2008 +0100

shell32: Add About dialog to Control Panel.

---

 dlls/shell32/control.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/control.c b/dlls/shell32/control.c
index 13fefaa..ca38edb 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:




More information about the wine-cvs mailing list