[ros-diffs] [janderwald] 35097: - remove debugging msgbox - fix default menu item state

janderwald at svn.reactos.org janderwald at svn.reactos.org
Mon Aug 4 15:47:12 CEST 2008


Author: janderwald
Date: Mon Aug  4 08:47:11 2008
New Revision: 35097

URL: http://svn.reactos.org/svn/reactos?rev=35097&view=rev
Log:
- remove debugging msgbox
- fix default menu item state

Modified:
    trunk/reactos/dll/win32/shell32/cpanelfolder.c

Modified: trunk/reactos/dll/win32/shell32/cpanelfolder.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/cpanelfolder.c?rev=35097&r1=35096&r2=35097&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/cpanelfolder.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/cpanelfolder.c [iso-8859-1] Mon Aug  4 08:47:11 2008
@@ -1187,11 +1187,11 @@
     {
         if (Count)
         {
-            _InsertMenuItem(hMenu, indexMenu++, TRUE, idCmdFirst + Count, MFT_SEPARATOR, NULL, MFS_DEFAULT);
+            _InsertMenuItem(hMenu, indexMenu++, TRUE, idCmdFirst + Count, MFT_SEPARATOR, NULL, MFS_ENABLED);
         }
         szBuffer[(sizeof(szBuffer)/sizeof(char))-1] = L'\0';
 
-        _InsertMenuItem(hMenu, indexMenu++, TRUE, idCmdFirst + Count, MFT_STRING, szBuffer, MFS_DEFAULT);
+        _InsertMenuItem(hMenu, indexMenu++, TRUE, idCmdFirst + Count, MFT_STRING, szBuffer, MFS_ENABLED);
         Count++;
     }
     return MAKE_HRESULT(SEVERITY_SUCCESS, 0, Count);
@@ -1205,12 +1205,8 @@
 	IContextMenu2 *iface,
 	LPCMINVOKECOMMANDINFO lpcmi)
 {
-    WCHAR szBuffer[100];
     SHELLEXECUTEINFOW sei;
     ICPanelImpl *This = impl_from_IContextMenu(iface);
-
-    sprintfW(szBuffer, L"verb %p\n", lpcmi->lpVerb);
-    MessageBoxW(NULL, szBuffer, L"invoke", MB_OK);
 
     if (lpcmi->lpVerb == MAKEINTRESOURCE(1))
     {



More information about the Ros-diffs mailing list