Skip to content

Commit

Permalink
2000 style toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
comdlg32 authored Oct 12, 2021
1 parent 390a286 commit e7438d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Explorer++/Explorer++/MainToolbarHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ BYTE Explorerplusplus::LookupToolbarButtonExtraStyles(int iButtonID)
break;

case TOOLBAR_BACK:
return BTNS_DROPDOWN;
return BTNS_SHOWTEXT | BTNS_DROPDOWN;
break;

case TOOLBAR_FORWARD:
Expand Down Expand Up @@ -340,7 +340,7 @@ BYTE Explorerplusplus::LookupToolbarButtonExtraStyles(int iButtonID)
break;

case TOOLBAR_SEARCH:
return 0;
return BTNS_SHOWTEXT;
break;

case TOOLBAR_PROPERTIES:
Expand Down Expand Up @@ -529,4 +529,4 @@ void Explorerplusplus::HandleToolbarItemStates(void)
SendMessage(m_hMainToolbar,TB_ENABLEBUTTON,(WPARAM)TOOLBAR_SHOWCOMMANDPROMPT,!bVirtualFolder);

SendMessage(m_hMainToolbar,TB_ENABLEBUTTON,TOOLBAR_NEWFOLDER,!bVirtualFolder);
}
}

0 comments on commit e7438d5

Please sign in to comment.