烦躁死了,我不知道用呀!!!!!!
我在设计一个计算器的科学计数功能,在初始化窗口的时候就在显示如下内容
0000 0000 0000 0000 0000 0000 0000 0000
63 47 32
0000 0000 0000 0000 0000 0000 0000 0000
31 15 0
当我输入1的时候每三行就应该显示0000 0000 0000 0000 0000 0000 0000 0001,怎么实现呀!!!!
而且这个CEdit::ReplaceSel看不懂,我看了它举的例子,根本就没有出现edit box的ID,我怎么去让他们两个相关联上了,通过海量搜索后,头都 晕了,求教求教,// The pointer to my edit.
extern CEdit* pmyEdit;
// The string for replacing.
extern LPCTSTR lpszmyString;int nBegin, nEnd;// Replace the second line, if it exists, of the edit control
// with the text lpszmyString.
if ((nBegin=pmyEdit->LineIndex(1)) != -1)
{
  nEnd = nBegin + pmyEdit->LineLength(1); 
  pmyEdit->SetSel(nBegin, nEnd);
  pmyEdit->ReplaceSel(lpszmyString);
}