MFC_弹出提示窗口

方式1

int state = 0;
CString IntType;
IntType.Format(_T("%d"), state);
MessageBox(IntType);
MessageBox(TEXT("StrType"));

方式2

int result = MessageBox(TEXT("Text"), TEXT("Title"), MB_OK);

猜你喜欢

转载自blog.csdn.net/qq_36917144/article/details/121563190