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

Posted on 2007-11-23
Last Modified: 2013-11-20
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?
Question by:shiffin
  • 3
  • 2
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20341809
as a dirty solution, you can make first column width to zero (not used), and fill columns starting with second one.

Author Comment

ID: 20341910
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.

Author Comment

ID: 20439789
How do I close this message? Where is the help on how to use this forum more efficiently?
LVL 55

Accepted Solution

Jaime Olivares earned 500 total points
ID: 20441793
Do you want to accept the solution, request for point refund?

Author Comment

ID: 20442209
No. I only want to close it. No refund is requried. Its done. Thanks

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to monitor remote shell execution on linux 9 100
Execute multiple curl cmds with sleep and send output to file 10 97
Line meaning 9 85
changeXy challenge 13 81
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now