方式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);
方式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);