mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 03:12:59 +00:00
[RSHELL]
- A HACK notice was more obvious than needed (I got what I asked after all). - Reenable opening the printers folder since it works now svn path=/branches/shell-experiments/; revision=65161
This commit is contained in:
parent
f48774515c
commit
15ba278fdd
1 changed files with 1 additions and 7 deletions
|
@ -230,12 +230,6 @@ private:
|
||||||
|
|
||||||
HRESULT OnExec(LPSMDATA psmd)
|
HRESULT OnExec(LPSMDATA psmd)
|
||||||
{
|
{
|
||||||
// H H A CCC K K ! ! !
|
|
||||||
// H H A A C C K K ! ! !
|
|
||||||
// HHHHH AAAAA C KKK ! ! !
|
|
||||||
// H H A A C C K K ! ! !
|
|
||||||
// H H A A CCC K K . . .
|
|
||||||
//
|
|
||||||
// HACK: Instead of running explorer.exe with the path, we should be using ShellExecute to "open" the path directly!
|
// HACK: Instead of running explorer.exe with the path, we should be using ShellExecute to "open" the path directly!
|
||||||
// Remove once ShellExecute can handle CLSID path components.
|
// Remove once ShellExecute can handle CLSID path components.
|
||||||
|
|
||||||
|
@ -244,7 +238,7 @@ private:
|
||||||
else if (psmd->uId == IDM_NETWORKCONNECTIONS)
|
else if (psmd->uId == IDM_NETWORKCONNECTIONS)
|
||||||
ShellExecuteW(NULL, NULL, L"explorer.exe", L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}", NULL, SW_SHOWNORMAL);
|
ShellExecuteW(NULL, NULL, L"explorer.exe", L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}", NULL, SW_SHOWNORMAL);
|
||||||
else if (psmd->uId == IDM_PRINTERSANDFAXES)
|
else if (psmd->uId == IDM_PRINTERSANDFAXES)
|
||||||
{}/* FIXME: crashes: ShellExecuteW(NULL, NULL, L"explorer.exe", L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}", NULL, SW_SHOWNORMAL);*/
|
ShellExecuteW(NULL, NULL, L"explorer.exe", L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}", NULL, SW_SHOWNORMAL);
|
||||||
else
|
else
|
||||||
PostMessageW(m_hwndTray, WM_COMMAND, psmd->uId, 0);
|
PostMessageW(m_hwndTray, WM_COMMAND, psmd->uId, 0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue