Author: gedmurphy
Date: Sat Apr 22 16:39:42 2006
New Revision: 21702
URL:
http://svn.reactos.ru/svn/reactos?rev=21702&view=rev
Log:
Remove reg button in ReactOS. It made the toolbar a bit long, plus regedit should be
used.
Modified:
trunk/reactos/base/shell/explorer/shell/mainframe.cpp
Modified: trunk/reactos/base/shell/explorer/shell/mainframe.cpp
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/base/shell/explorer/shell/m…
==============================================================================
--- trunk/reactos/base/shell/explorer/shell/mainframe.cpp (original)
+++ trunk/reactos/base/shell/explorer/shell/mainframe.cpp Sat Apr 22 16:39:42 2006
@@ -37,6 +37,7 @@
#include "../dialogs/settings.h" // for MdiSdiDlg
+//#define _NO_REBAR
HWND MainFrameBase::Create(const ExplorerCmd& cmd)
{
@@ -787,12 +788,13 @@
extraBtns.iBitmap = 8;
SendMessage(_hextrabar, TB_INSERTBUTTON, INT_MAX, (LPARAM)&extraBtns);
}
-
+#ifndef _ROS_ // don't insert reg button for ROS. Regedit should be used.
// insert Registry button
extraBtns.iString = SendMessage(_hextrabar, TB_ADDSTRING, 0,
(LPARAM)TEXT("Reg.\0"));
extraBtns.idCommand = ID_DRIVE_REGISTRY;
extraBtns.iBitmap = 9;
SendMessage(_hextrabar, TB_INSERTBUTTON, INT_MAX, (LPARAM)&extraBtns);
+#endif
#ifdef _DEBUG
// insert FAT direct file system access button