Skip to content

Commit

Permalink
Fix tab control still visible in wizard97 style dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
ppescher committed Jan 26, 2020
1 parent a33a07e commit 33783d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ResizableLib/ResizableSheetEx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,9 @@ void CResizableSheetEx::PresetLayout()
if (IsWizard97()) // add header line for wizard97 dialogs
AddAnchor(ID_WIZLINEHDR, TOP_LEFT, TOP_RIGHT);

// hide tab control
// hide tab control and keep it hidden
GetTabControl()->ShowWindow(SW_HIDE);
AddAnchor(AFX_IDC_TAB_CONTROL, TOP_LEFT);

// pre-calculate margins
m_sizePageTL = rectPage.TopLeft() - rectSheet.TopLeft();
Expand Down

0 comments on commit 33783d8

Please sign in to comment.