直接加上去掉ES_PASSWORD属性不行,直接贴代码吧:
void XXX::OnHideBox() { if (m_HidePwdBox.GetCheck()) { m_PwdEdit.SetPasswordChar('*'); } else { m_PwdEdit.SetPasswordChar(0); } m_PwdEdit.Invalidate();//必须刷新下,不然换不过来 }
posted on 2012-03-20 17:17 hgy413 阅读(171) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 hgy413 Powered by .NET 9.0 on Kubernetes