From 084c375c117c33ed6e00aa5242e7938be022d024 Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Sat, 22 Apr 2006 12:39:42 +0000 Subject: [PATCH] Remove reg button in ReactOS. It made the toolbar a bit long, plus regedit should be used. svn path=/trunk/; revision=21702 --- reactos/base/shell/explorer/shell/mainframe.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/base/shell/explorer/shell/mainframe.cpp b/reactos/base/shell/explorer/shell/mainframe.cpp index 1dd01916f6b..66abc762441 100644 --- a/reactos/base/shell/explorer/shell/mainframe.cpp +++ b/reactos/base/shell/explorer/shell/mainframe.cpp @@ -37,6 +37,7 @@ extern HWND create_webchildwindow(const WebChildWndInfo& info); #include "../dialogs/settings.h" // for MdiSdiDlg +//#define _NO_REBAR HWND MainFrameBase::Create(const ExplorerCmd& cmd) { @@ -787,12 +788,13 @@ MDIMainFrame::MDIMainFrame(HWND hwnd) 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