listcontrol displa不会出图像 [英] listcontrol displa does not out image

查看:53
本文介绍了listcontrol displa不会出图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果listcontrol显示背景图。

那么写错了?



If the listcontrol display a background map it。
So write wrong?

m_ListCtrl.SetBkImage("C:\Documents and Settings\zhanbiao\Desktop\Original Files\Mains.bmp");

   m_ListCtrl.SetTextBkColor(CLR_NONE);







不知道为什么显示不出来图片







帮我解决一次。




Don''t know why display does not come out images



help me solve once.

推荐答案

你的错误是文件路径名:



\ 是一个转义字符。要把斜杠作为输入字符,你必须要使用\\



your mistake is with file path name:

\ is a escape character. to put back slash as input character you must have to use \\

m_ListCtrl.SetBkImage("C:\\Documents and Settings\\zhanbiao\\Desktop\\Original Files\\Mains.bmp");

   m_ListCtrl.SetTextBkColor(CLR_NONE);





尝试以上............



try above............


这篇关于listcontrol displa不会出图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆