Remove reg button in ReactOS. It made the toolbar a bit long, plus regedit should be used.

svn path=/trunk/; revision=21702
This commit is contained in:
Ged Murphy 2006-04-22 12:39:42 +00:00
parent 12b2c06aee
commit 084c375c11

View file

@ -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