Solved

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

Posted on 2007-11-23
5
310 Views
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?
Thanks
Eugene
0
Comment
Question by:shiffin
  • 3
  • 2
5 Comments
 
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.
0
 

Author Comment

by:shiffin
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.
Thanks
Eugene
0
 

Author Comment

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

Accepted Solution

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

Author Comment

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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 video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 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

18 Experts available now in Live!

Get 1:1 Help Now