Domodal出不来把,跟踪进去就知道结果了
解决方案 »
- (60分)tls不加锁,mfc封装的时候却加锁了
- Sleep(0)和SwitchToThread之间的区别问题
- 不可复现问题如何处理
- vs2008如何新建一个ico,然后设置它的ID,
- 推荐本好的MFC书给我吧!!!!!!!!!!!!!!!!
- 求教:如何在程序中动态修改EDIT控件的属性?
- 用过加密狗的请进
- 请问高手cListCtrl插入图标的问题
- 哪问能够告诉我"预编译头文件"在VC中是怎么一回事?
- 如何人为制造一个非法操作,然后只能关闭?(用于软件加密,不想用TerminateProcess以免被SoftIce拦截)
- 我程序自己定义的热键,怎么样保证不和别人冲突呢?
- 向一个端口写数据用outp吗?
就不知跳到哪里去了,to kingzai:
怎么跟踪进去啊?
2、消息映射是不是自己手动加上去的?
3、“就是执行到 nResponse = dlg.DoModal();就不知跳到哪里去了”??
程序退出了吗?
to: kingzai(),
刚才一直按F11调试,
我在调试窗口下,好像执行到
CreateDialogIndirect是就提示什么溢出,程序就继续不下去了
消息代码如下:
void CTemperatureDlg::OnChangeInput()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
m_input_string.GetWindowText (m_input_temp);
m_temp_in=atof(m_input_temp);
if (m_radio_check==0)
{
m_temp_out=m_temp_in*5/9+32;
}
else
{
m_temp_out=9*(m_temp_in-32)/5;
}
m_output_temp.Format ("%f",m_temp_out);
m_input_string.SetWindowText (m_input_temp);
m_output_string.SetWindowText (m_output_temp); Invalidate(true);
}