Re: OwnerDraw ListView subitem problems



On Sat, 04 Oct 2008 12:28:10 -0700, James <syntax28uk@xxxxxxxxxxx> wrote:

[...]
I have overridden the DrawColumnHeader, DrawItem, DrawSubItem methods as displayed below.
It is drawing the icon correctly, however, when I click on a row, the middle column, eg. column 1
is not being shown as selected. All other columns look selected whenever I click on a row.

Can somebody please help with having the selected row displayed correctly?

I don't see anything in the code you posted that would render a selected cell differently than an unselected one. What makes you think that the selection should be represented while you are using the code that you posted?

Pete

p.s. Please don't post HTML.
.



Relevant Pages

  • Re: Should I buy SOLIDWORKS?
    ... Size of the eDrawing can vary greatly. ... SolidWorks has the analagous functionality in its drawing ... In so doing, layers are irrelevant. ... selection "windows" in all three environments work pretty much ...
    (comp.cad.solidworks)
  • Re: Cant see lines
    ... Can you see the line while you're drawing it? ... drawing it and it is still selected (so that you can see the selection ... > "Suzanne S. Barnhill" wrote: ... >> Microsoft MVP ...
    (microsoft.public.word.drawing.graphics)
  • Re: how to add a keyboard shortcut to |Drawing|Group|
    ... will group selected drawing objects. ... Even after I having assigned the shortcuts to DrawGroup and DrawUngroup, ... right-cick the selection and choose ... This will display the Customize Keyboard dialog. ...
    (microsoft.public.word.docmanagement)
  • Hiding Features
    ... assembly 4 times with unwanted holes being hidden in various strips in ... Edge" command does not appear when right clicking after selection of ... and the selecting then choosing "Hide Edge" in the Drawing ... I have looked at the Help Topics and ...
    (comp.cad.solidworks)
  • Re: [SLE] Simple questions No.4
    ... > of files by drawing a rectangle around them; ... they should go out of selection ... Many of your questions are more KDE specific than SuSE specific. ...
    (SuSE)