Click here to Skip to main content
15,908,775 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use SendMessage(hwnd,LB_GETTEXT,Index,Integer(@cbText));
can get the ListBox text for no image,like next:
http://ftphi.bccn.net/002/201007/17/110233_12793385466wWR.jpg[^]
but can't get the ListBox text for image, like next:
http://ftphi.bccn.net/002/201007/17/110233_12793385446Ti1.jpg[^]

中文说明:
我使用SendMessage(hwnd,LB_GETTEXT,Index,Integer(@cbText));
可以获取没有图标的ListBox内容,如下图:
http://ftphi.bccn.net/002/201007/17/110233_12793385466wWR.jpg[^]
但去获取不到有图片的ListBox的内容,如下图:
http://ftphi.bccn.net/002/201007/17/110233_12793385446Ti1.jpg[^]
Posted

1 solution

SendMessage(hwnd,LB_GETTEXT,Index,Integer(@cbText));

What is the LPARAM parameter in the above? It should be the address of the buffer that will receive the string as described here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900