我在CWinApp的虚函数ExitInstance中加入了AfxMessageBox, 为什么它没有弹出对话框?
intCMy3App::ExitInstance(){//TODO:Addyourspecializedcodehereand/orcallthebaseclassAfx...
int CMy3App::ExitInstance()
{
// TODO: Add your specialized code here and/or call the base class
AfxMessageBox(TEXT("DDDDDDDDDDDDDDD"), MB_OK, MB_ICONSTOP);
Sleep(5000);
SetCursorPos(100, 100);
return CWinApp::ExitInstance();
}
GetLastError返回的是0. 展开
{
// TODO: Add your specialized code here and/or call the base class
AfxMessageBox(TEXT("DDDDDDDDDDDDDDD"), MB_OK, MB_ICONSTOP);
Sleep(5000);
SetCursorPos(100, 100);
return CWinApp::ExitInstance();
}
GetLastError返回的是0. 展开
2015-03-28
展开全部
用MessageBox试试看
追问
CWinApp里有那函数吗, 你懂吗?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2015-04-04
展开全部
#include "stdio.h"
#include "conio.h"
main()
{
int a,b,num1,num2,temp;
printf("please input two numbers:\n");
scanf("%d,%d",&num1,&num2);
#include "conio.h"
main()
{
int a,b,num1,num2,temp;
printf("please input two numbers:\n");
scanf("%d,%d",&num1,&num2);
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询