Commit 21f24c77e04adf5db3affbca4ab5068ec7f0ebe3
1 parent
ca1a0fb1
fix(card-etrade):修复多屏幕下,升级工具界面显示错误
修复多屏幕下,升级工具界面显示错误。去掉控件之间自绘的虚线。
Showing
1 changed file
with
8 additions
and
8 deletions
card_file_tool/DLCardTool/DLCardToolDlg.cpp
... | ... | @@ -120,14 +120,14 @@ void CDLCardToolDlg::OnPaint() |
120 | 120 | CPaintDC dc(this); // 用于绘制的设备上下文 |
121 | 121 | CPen *pOldPen = dc.SelectObject(&m_cPen);//保存DC原始画笔 |
122 | 122 | |
123 | - CRect rtExplain; | |
124 | - m_cExplain9.GetWindowRect(&rtExplain); | |
125 | - CRect rtPanel; | |
126 | - GetClientRect(&rtPanel); | |
127 | - | |
128 | - dc.MoveTo(26, rtExplain.bottom + 24); //设置DC当前点 | |
129 | - dc.LineTo(rtPanel.right - 26, rtExplain.bottom + 24); //绘制直线 | |
130 | - dc.SelectObject(pOldPen); //回复DC原画笔 | |
123 | + //CRect rtExplain; | |
124 | + //m_cExplain9.GetWindowRect(&rtExplain); | |
125 | + //CRect rtPanel; | |
126 | + //GetClientRect(&rtPanel); | |
127 | + | |
128 | + //dc.MoveTo(26, rtExplain.bottom + 24); //设置DC当前点 | |
129 | + //dc.LineTo(rtPanel.right - 26, rtExplain.bottom + 24); //绘制直线 | |
130 | + //dc.SelectObject(pOldPen); //回复DC原画笔 | |
131 | 131 | |
132 | 132 | if (IsIconic()) |
133 | 133 | { | ... | ... |