Skip to content

Commit

Permalink
Hide file path bar and status bar when in Preview mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Nov 6, 2023
1 parent a12ab80 commit 11bc950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Src/EditorFilepathBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ CEditorFilePathBar::~CEditorFilePathBar()
BOOL CEditorFilePathBar::Create(CWnd* pParentWnd)
{
if (! __super::Create(pParentWnd, CEditorFilePathBar::IDD,
CBRS_ALIGN_TOP | CBRS_TOOLTIPS | CBRS_FLYBY, CEditorFilePathBar::IDD))
CBRS_ALIGN_TOP | CBRS_TOOLTIPS | CBRS_FLYBY, AFX_IDW_CONTROLBAR_FIRST+29))
return FALSE;

NONCLIENTMETRICS ncm = { sizeof NONCLIENTMETRICS };
Expand Down
2 changes: 1 addition & 1 deletion Src/MergeStatusBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ CMergeStatusBar::~CMergeStatusBar()

BOOL CMergeStatusBar::Create(CWnd* pParentWnd)
{
if (! __super::Create(pParentWnd))
if (! __super::Create(pParentWnd, WS_CHILD | WS_VISIBLE | CBRS_BOTTOM, AFX_IDW_CONTROLBAR_FIRST+28))
return FALSE;

SetIndicators(indicatorsBottom, sizeof(indicatorsBottom) / sizeof(UINT));
Expand Down

0 comments on commit 11bc950

Please sign in to comment.