Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • 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 OlivaresCommented:
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 OlivaresCommented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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