📄 subject_40808.htm
字号:
<p>
序号:40808 发表者:blackfly007 发表日期:2003-05-21 17:49:24
<br>主题:如何使用组合框(sos)!!!!!!!!!!
<br>内容:我要在程序中编辑组合框中的参数,比如支路数;<BR>我在前一个对话框中输入支路数;并把这个支路数传给m_Count;<BR>后一个对话框中的组合框来显示支路几;从而确定输入那条支路的阻抗;<BR>我采用了以下代码:<BR>void CSpurtrack_input::OnShowWindow(BOOL bShow, UINT nStatus) <BR>{<BR> CDialog::OnShowWindow(bShow, nStatus);<BR> <BR> // TODO: Add your message handler code here<BR> for(int i=1;i<=m_Count;i++)<BR> {<BR> CString str;<BR> str.Format("支路%d",i);<BR> m_Ctr.InsertString(i, str);<BR><BR> }<BR><BR><BR>}<BR>为何显示不出啊!!!!!!<BR>那位高手赐教!!!!!!!!
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
回复者:zojd1 回复日期:2003-05-22 08:54:23
<br>内容:加上UpdateData(),UpdateData(FALSE)试试。我也是稀里糊涂的。<BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:烦恼多多 回复日期:2003-05-22 10:39:18
<br>内容:回到对话框中调整你的Combox,点击下拉三角,出现虚框,加大虚框大概就可以了,可以试试
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -