• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

CListCtrl drag image does not display first column, when its single column. How do we manage?

I have a CListCtrl with only one column. When I drag and capture using OnBegindrag, the create image creates image with a long line followed by the other columns. (CreateDragImage)
Now, I only have one column and I could see only the line image and not the content of the first column.

How do I make the shadow line smaller or display the shadow content of the first column?
Thanks
Eugene
0
shiffin
Asked:
shiffin
  • 3
  • 2
1 Solution
 
Jaime OlivaresSoftware ArchitectCommented:
as a dirty solution, you can make first column width to zero (not used), and fill columns starting with second one.
0
 
shiffinAuthor Commented:
I tried this, but, the line length it draws is on fixed length. So, even if I have more columns, it hides the first visible few centimeters.
Thanks
Eugene
0
 
shiffinAuthor Commented:
How do I close this message? Where is the help on how to use this forum more efficiently?
Eugene
0
 
Jaime OlivaresSoftware ArchitectCommented:
Do you want to accept the solution, request for point refund?
0
 
shiffinAuthor Commented:
No. I only want to close it. No refund is requried. Its done. Thanks
Eugene
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now