Full Row Selection In DataGrid

From: Neo (Neo_at_discussions.microsoft.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 10:03:03 -0800

Hi,

I need to implement the full row selection on the datagrid, just as it works
on the list view, You know if you press control, or shift, and then click on
a row, well, select rows just as windows explorer does.
I have done somthing like catching the mouse_down event, get the row
clicked, and select it, but I have problems when you need to drag this rows,
because I dont
want them to deselect, and they deselect.

I another thing, if I put the same logic on the mouse_up event, it does not
work,
I dont know why, the grid doesn't render after the mouse_up event.

Any Ideas?

Or if you have already done this, please share it... =)



Relevant Pages

  • Re: bad mood today
    ... "Borat" wrote ... ... have an late shift then an early the next day. ... enough to sleep and when i finally do, i wake up shitloads because i'm ... i really dont know what to say to that. ...
    (uk.people.support.depression)
  • Re: Signed multiplication
    ... All that happens is you add up all of the individual powers of two ... which in binary is a simple bit shift to the left. ... In twos compliment though, you have to remember to extend the sign bit ... often have integrated multipliers and you dont have to ...
    (comp.lang.vhdl)
  • Re: bad mood today
    ... dont want to get in from work at about 10.30pm tonight and have to get up ... have an late shift then an early the next day. ... enough to sleep and when i finally do, i wake up shitloads because i'm ... at least its warm there. ...
    (uk.people.support.depression)
  • Re: Part Time 4x4 Problem....Any ideas?
    ... Ive seen this on Rovers quite a bit because they dont use the off road ... The lever binds up and then either breaks or doesnt move at all, ... Shift into 4wd ...
    (rec.autos.4x4)
  • Re: Select/Deselect Items in List - Windows XP
    ... Shift click gives me a group of ... How do I deselect one of the items in a group? ... >keystroke that I can find in the VPC PC keystroke settings. ... Virtual PC for Windows MVP ...
    (microsoft.public.mac.virtualpc)