Author: akhaldi
Date: Wed May 15 17:42:01 2013
New Revision: 59019
URL:
http://svn.reactos.org/svn/reactos?rev=59019&view=rev
Log:
[SHELL32]
* Process CPL_STARTWPARMSW and then CPL_DBLCLK when starting control panel applets.
Modified:
trunk/reactos/dll/win32/shell32/control.cpp
Modified: trunk/reactos/dll/win32/shell32/control.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/control.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/control.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/control.cpp [iso-8859-1] Wed May 15 17:42:01 2013
@@ -431,8 +431,8 @@
{
/* Start the applet */
TRACE("Starting applet %d\n", i);
- if (!pApplet->proc(pApplet->hWnd, CPL_DBLCLK, i,
pApplet->info[i].lData))
- pApplet->proc(pApplet->hWnd, CPL_STARTWPARMSW, i,
(LPARAM)pwszArg);
+ if (!pApplet->proc(pApplet->hWnd, CPL_STARTWPARMSW, i,
(LPARAM)pwszArg))
+ pApplet->proc(pApplet->hWnd, CPL_DBLCLK, i,
pApplet->info[i].lData);
} else
ERR("Applet not found: %ls\n", pwszArg ? pwszArg :
L"NULL");