mfc怎么在view窗口中输出自定义的内容。
有没有像控制台里面的输入输出流那样的东西,可以文字变量混输可以换行的那种。用textout和drawtext好像只能输文字。。。...
有没有像控制台里面的输入输出流那样的东西,可以文字变量混输可以换行的那种。用textout和drawtext好像只能输文字。。。
展开
展开全部
CWindow<a href="https://www.baidu.com/s?wd=DC&tn=44039180_cpr&fenlei=mv6quAkxTZn0IZRqIHckPjm4nH00T1dBuHKhnWuhnvDknjIhrAPW0ZwV5Hcvrjm3rH6sPfKWUMw85HfYnjn4nH6sgvPsT6KdThsqpZwYTjCEQLGCpyw9Uz4Bmy-bIi4WUvYETgN-TLwGUv3EnHRYnjc4PWf3nWRzn1f1PHR3Ps" target="_blank" class="baidu-highlight">DC</a> <a href="https://www.baidu.com/s?wd=dc&tn=44039180_cpr&fenlei=mv6quAkxTZn0IZRqIHckPjm4nH00T1dBuHKhnWuhnvDknjIhrAPW0ZwV5Hcvrjm3rH6sPfKWUMw85HfYnjn4nH6sgvPsT6KdThsqpZwYTjCEQLGCpyw9Uz4Bmy-bIi4WUvYETgN-TLwGUv3EnHRYnjc4PWf3nWRzn1f1PHR3Ps"target="_blank" class="baidu-highlight">dc</a>(this); CString str; int a = 12345; str.Format("a = %d, hello!", a); <a href="https://www.baidu.com/s?wd=dc&tn=44039180_cpr&fenlei=mv6quAkxTZn0IZRqIHckPjm4nH00T1dBuHKhnWuhnvDknjIhrAPW0ZwV5Hcvrjm3rH6sPfKWUMw85HfYnjn4nH6sgvPsT6KdThsqpZwYTjCEQLGCpyw9Uz4Bmy-bIi4WUvYETgN-TLwGUv3EnHRYnjc4PWf3nWRzn1f1PHR3Ps" target="_blank" class="baidu-highlight">dc</a>.TextOut(10, 20, str);
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询