Re: CListCtrl cuts off sub-item image...



I'm not sure exactly how you're doing it, but you may want to just add 2 or 3 to the left starting point when drawing the image. Maybe there is something in the subitem draw that is overwriting your image.

Tom

<chintan.r.naik@xxxxxxxxx> wrote in message news:1177690161.379153.209380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,

I am displaying 24X24 image in all the columns of a CListCtrl in
detail view mode. Have a look at the following image of application
interface.

http://61.246.200.115/listctrl.jpg


The same image is selected for all the columns but if you look at it
carefully, image in 2nd, 3rd and 4th column is not displaying fully.
The vertical red line on left side is disappeared in all those 3
columns even if the width of the column is more than the width of the
image.


Do anybody have an idea why this is happennig and the solution to
display the full image in sub items?


Thanks,

-Chintan.


.



Relevant Pages

  • Displaying floating point data in ACL Common Graphics
    ... I am designing a graphical application in ACL for displaying spectral ... since drawing in ACL is pixel-based, I am forced to round to integers. ... I still have memory issues (I am sub-classing my base class ...
    (comp.lang.lisp)
  • Re: Displaying floating point data in ACL Common Graphics
    ... I am designing a graphical application in ACL for displaying spectral ... since drawing in ACL is pixel-based, I am forced to round to integers. ... I still have memory issues (I am sub-classing my base class ...
    (comp.lang.lisp)
  • Re: CListView Problem
    ... and can do all your drawing yourself, ... > I am having problem in displaying different sizes of images and ... > displaying me the full text and when deselected then again three dots. ...
    (microsoft.public.vc.mfc)
  • Convert Visio Drawing to PNG or other format via code
    ... currently that drawing is displayed in the visio ocx control where the ... Therefore we cannot use the visio ocx. ... format that can be viewed in the browser before displaying to the ...
    (microsoft.public.visio.developer)
  • Re: Can mystr[i]=mystr[ii] be a problem when i==ii
    ... them in our interface". ... displaying the first page of the body of the message. ... It's not clear that all client programs do this; ... People posting questions *should* put the question in the body of the ...
    (comp.lang.c)