datagrid: show selection always

Sep 18, 2009 at 10:31 AM

how to impletent selected rows/cells will stay visibly selected (traditionaly blue background and white text) even grid will have no focus?

in mfc it was style |= LVS_SHOWSELALWAYS

thanks

Oct 2, 2009 at 3:18 PM

hm, since time i created this thread i see there already "is SHOWSELALWAYS set" (even looking to sources history i changed nothing)

so actual question is:

if it is enabled than how to disable it?