编辑控件中的整数 [英] Integer in Edit Control
本文介绍了编辑控件中的整数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我写了
m_dispCTRL.SetDlgItemInt(IDC_EDIT1, 100 );
但没有显示数字.
解决方案
什么是m_dispCTRL
?如果是编辑控件,请尝试使用窗口(CWnd).有关更多信息,请参见: CWnd :: SetDlgItemInt [ ^ ]
I have written
m_dispCTRL.SetDlgItemInt(IDC_EDIT1, 100);
but it didn''t show the number. is there any code to show it?
解决方案
What is the m_dispCTRL
? If it''s the edit control, try using the window (CWnd) instead. More info, see: CWnd::SetDlgItemInt[^]
这篇关于编辑控件中的整数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文