diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-26 22:37:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-26 22:38:21 +0300 |
commit | 1005a0df562affafe0b0deffde3e3b626e2f14b3 (patch) | |
tree | c005dfc62147451dcd16a46181d3a5aab5bac45d /plugins/Scriver/src/msgdialog.cpp | |
parent | 9da0e2174a4d557f55c17fc0f82df3f6f34f58cf (diff) |
code cleaning
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 7968f3da0c..bccea21bef 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -720,13 +720,10 @@ void CSrmmWindow::SetDialogToType() else
ShowWindow(m_hwndInfo, SW_HIDE);
- ShowWindow(m_message.GetHwnd(), SW_SHOW);
- if (m_hwndIeview != nullptr)
- ShowWindow(m_log.GetHwnd(), SW_HIDE);
- else
- ShowWindow(m_log.GetHwnd(), SW_SHOW);
+ m_message.Show();
+ m_log.Show(m_hwndIeview == nullptr);
- ShowWindow(m_splitter.GetHwnd(), SW_SHOW);
+ m_splitter.Show();
UpdateReadChars();
EnableWindow(GetDlgItem(m_hwnd, IDOK), GetRichTextLength(m_message.GetHwnd(), 1200, FALSE) ? TRUE : FALSE);
SendMessage(m_hwnd, DM_CLISTSETTINGSCHANGED, 0, 0);
|